summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/doc/crypto/BUF_MEM_new.pod5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/doc/crypto/BUF_MEM_new.pod b/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
index b761859086d..a83f46f8968 100644
--- a/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
+++ b/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
size.
BUF_strdup() copies a null terminated string into a block of allocated memory
-and returns a pointer to the allocated block. Unlike the standard C library
-strdup() this function uses OPENSSL_malloc() and so should be used in
-preference to the standard library strdup() because it can be used for memory
-leak checking or replacing the malloc() function.
+and returns a pointer to the allocated block.
The memory allocated from BUF_strdup() should be freed up using the
OPENSSL_free() function.