DescriptionFix realloc to not call the new_handler (which is for failures)
when the request was for realloc(ptr, 0). Calling realloc(ptr, 0)
is valid, and we should delete ptr and return NULL.
BUG=none
TEST=none
Patch Set 1 #Patch Set 2 : '' #
Total comments: 1
Patch Set 3 : '' #Messages
Total messages: 3 (0 generated)
|