Re: [AD] memory leak in readbmp.c? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Peter Wang <tjaden@xxxxxxxxxx> writes:
> What about this?
>
> $ mtrace examples/exalpha mtrace.log
> - 0x080ebb10 Free 2474 was never alloc'd /home/tjaden/cvs/allegro/./src/readbmp.c:166
> ...
> No memory leaks.
I guess Allegro is compiled with constructors and
bitmap_filetype_constructor is called before memory debugger is
initialized and later it catches calls to free() as "freeing
unallocated memory". Try to test for memory problems without
using constructors.
--
Michael Bukin