28 Apr
2009
28 Apr
'09
8:38 a.m.
On Sun, Apr 26, 2009 at 11:23:07AM +0200, Hofmann Johannes wrote:
On Sun, Apr 26, 2009 at 08:56:15AM +0100, Jeremy Henty wrote:
I am logging the creation and destruction of DilloImage structures (patches attached) and I have confirmed that sometimes the image callbacks run after the Image is freed.
This might make sense:
DilloJpeg sometimes outlives the corresponding DilloImage. If the a_Jpeg_callback is called and it accesses the pointer to DilloImage we get the invalid reads, and if there is no callback anymore we have the leak.
OK, I'll try tracing the Dillo{Png,Jpeg,Gif} structures too. Regards, Jeremy Henty