diff options
Diffstat (limited to 'docs/man/nng_alloc.3.adoc')
| -rw-r--r-- | docs/man/nng_alloc.3.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_alloc.3.adoc b/docs/man/nng_alloc.3.adoc index a43140d1..3b6e27dd 100644 --- a/docs/man/nng_alloc.3.adoc +++ b/docs/man/nng_alloc.3.adoc @@ -29,9 +29,9 @@ at least _size_ bytes. The memory will be 64-bit aligned. The returned memory can be used to hold message buffers, in which -case it can be directly passed to <<nng_send.3#,`nng_send()`>> using +case it can be directly passed to `<<nng_send.3#,nng_send()>>` using the flag `NNG_FLAG_ALLOC`. Alternatively, it can be freed when no -longer needed using <<nng_free.3#,`nng_free()`>>. +longer needed using `<<nng_free.3#,nng_free()>>`. IMPORTANT: Do not use the system `free()` function to release this memory. On some platforms this may work, but it is not guaranteed and may lead |
