Subject: Re: 0xdeadbeef memory reference
To: Ljubisa Milenkovic <email@example.com>
From: Steve Woodford <firstname.lastname@example.org>
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.