Hans-Werner Hilse hilse@web.de wrote:
Changing the "free(aux);" to "if(aux) free(aux);" would probably care for that (resembling the earlier behaviour).
i know, the problem has been already fixed, but just for the record.
code like: if (bla) free(bla); will actually _never_ fix any bug. either bla is a valid pointer and can be free'ed or bla is NULL and the free does not hurt anyway, because one is explicitely allowed to free NULL pointers by the standard.
clemens