diff options
author | Ulf Möller <ulf@openssl.org> | 2000-09-20 03:28:54 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-09-20 03:28:54 +0000 |
commit | 18edda0f927e6919c1cff2d6e456cb8a0776239b (patch) | |
tree | 22bcd521e89b2149c3dd870e5498c4603e5e46ac /doc/crypto/buffer.pod | |
parent | 89681b183d8be8230c1cf4f908ead44e0d31dfd1 (diff) |
Malloc() -> OPENSSL_malloc() etc.
Diffstat (limited to 'doc/crypto/buffer.pod')
-rw-r--r-- | doc/crypto/buffer.pod | 4 |
1 files changed, 2 insertions, 2 deletions
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 |