From bb67a9767078bd98add53ead0e0e2f1390cfb539 Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 2 Jan 2025 03:17:48 +0000 Subject: deploy: f7bf24f429cbc488b861ab1b1e4cf1983af56295 --- ref/api/memory.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ref/api/memory.html') diff --git a/ref/api/memory.html b/ref/api/memory.html index 9fa8b5bd..32319564 100644 --- a/ref/api/memory.html +++ b/ref/api/memory.html @@ -234,9 +234,7 @@ The memory will be 64-bit aligned. Note that the memory may have random data in it, just like with malloc.

If memory cannot be allocated for any reason, then NULL will be returned. Applications that experience this should treat this like NNG_ENOMEM.

-

Memory returned by nng_alloc can be used to hold message buffers, in which -case it can be directly passed to nng_send using the flag NNG_FLAG_ALLOC. -Alternatively, it can be freed when no longer needed using nng_free.

+

Memory returned by nng_alloc should be freed when no longer needed using nng_free.

-- cgit v1.2.3-70-g09d2