Subject: Re: 0xdeadbeef memory reference
To: Ljubisa Milenkovic <firstname.lastname@example.org>
From: Steve Woodford <email@example.com>
Date: 07/06/2001 08:51:36
On Fri, 6 Jul 2001, Ljubisa Milenkovic wrote:
> After I release memory I allocated, the pointer reference to following
> addresses: 0xdeadbeef and 0xdead(xxxx) where xxxx are numbers. Did I release
> that memory?
> To allocate memory I use following macros:
> And to free:
> #define LFREE(t) free (&t, M_TEMP)
> /**< Frees the allocated memory */
> Is there something wrong with my macros?
Try "#define LFREE(t) free(t, M_TEMP)" instead.