alloca wars

David Keppel pardo at june.cs.washington.edu
Thu Aug 4 05:33:08 AEST 1988


I wrote:
>  foo = alloc(); ... afree(foo);

Karl Haddock pointed out that afree's will not be called for any
frames whose scope is left by longjmp() of a dynamically included
(child) function.  Oh well, it seemed like a good idea at the time.
Sorry for the bandwidth.

	;-D on  ( Memory obfuscation/deallafreeing )  Pardo



More information about the Comp.lang.c mailing list