Please sign in to comment.
realloc(): fix possible memory leak
If size is equal to zero, and ptr is not NULL, then the call must be equivalent to free(ptr). Signed-off-by: Nicolas Pitre <firstname.lastname@example.org>
- Loading branch information...
Showing with 1 addition and 0 deletions.