Skip to content
Commit 0d983a3d authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

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: default avatarNicolas Pitre <npitre@baylibre.com>
parent 97996f3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment