If realloc() fails then the original buffer is still valid. Free it before exiting the function. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
|---|---|---|
| .. | ||
| alloca.h | ||
| dirent.c | ||
| dirent.h | ||
| pthread.c | ||
| pthread.h | ||
| syslog.c | ||
| syslog.h | ||