effect of free()

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Sep 9 11:22:38 AEST 1989


In article <10990 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>realloc(free(ptr),size) explicitly undefined behavior.

Well, actually realloc((free(ptr),ptr),size), but you knew what I meant.



More information about the Comp.lang.c mailing list