X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2Fbuffer.pod;h=781f5b11ee546efdaa2d02ae944a02ba2461d97d;hb=847e551f39c2a218e36f95d93d45b72ec4446a2a;hp=1a02f9754ffdb5f61fdf77aa7ae347f4b184b214;hpb=c8973693abbe48a037638041719ec3f41222fe32;p=oweals%2Fopenssl.git diff --git a/doc/crypto/buffer.pod b/doc/crypto/buffer.pod index 1a02f9754f..781f5b11ee 100644 --- a/doc/crypto/buffer.pod +++ b/doc/crypto/buffer.pod @@ -46,11 +46,11 @@ 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 Malloc() and so +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. -The memory allocated from BUF_strdup() should be freed up using the Free() +The memory allocated from BUF_strdup() should be freed up using the OPENSSL_free() function. =head1 RETURN VALUES