summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod b/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
index b761859086..a83f46f896 100644
--- a/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
+++ b/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
@@ -45,10 +45,7 @@ B<len>. Any data already in the buffer is preserved if it increases in
45size. 45size.
46 46
47BUF_strdup() copies a null terminated string into a block of allocated memory 47BUF_strdup() copies a null terminated string into a block of allocated memory
48and returns a pointer to the allocated block. Unlike the standard C library 48and returns a pointer to the allocated block.
49strdup() this function uses OPENSSL_malloc() and so should be used in
50preference to the standard library strdup() because it can be used for memory
51leak checking or replacing the malloc() function.
52 49
53The memory allocated from BUF_strdup() should be freed up using the 50The memory allocated from BUF_strdup() should be freed up using the
54OPENSSL_free() function. 51OPENSSL_free() function.