diff options
-rw-r--r-- | include/slibc-alloc.h | 2 | ||||
-rw-r--r-- | src/slibc-alloc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h index 18e7341..3c92fcf 100644 --- a/include/slibc-alloc.h +++ b/include/slibc-alloc.h @@ -111,7 +111,7 @@ void* secure_realloc(void*, size_t) /** * This function behaves exactly like `fast_realloc`, except: * - Its behaviour is undefined if `ptr` is `NULL`. - * - Its behaviour is undefined `size` equals the old allocation size. + * - Its behaviour is undefined if `size` equals the old allocation size. * - Its behaviour is undefined if `size` is zero. * - It will never free `ptr`. * diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c index b1d0889..2043ce0 100644 --- a/src/slibc-alloc.c +++ b/src/slibc-alloc.c @@ -174,7 +174,7 @@ void* secure_realloc(void* ptr, size_t size) /** * This function behaves exactly like `fast_realloc`, except: * - Its behaviour is undefined if `ptr` is `NULL`. - * - Its behaviour is undefined `size` equals the old allocation size. + * - Its behaviour is undefined if `size` equals the old allocation size. * - Its behaviour is undefined if `size` is zero. * - It will never free `ptr`. * |