GNOME Bugzilla – Bug 552545
leaks GpImage
Last modified: 2009-08-30 01:27:44 UTC
Every image the loads leaks a GpImage, which can add up over time.
Created attachment 118842 [details] [review] patch
2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com> * io-gdip-utils.c: Fix 2 cases where we leaked a GpImage (#552545) --This line, and those below, will be ignored-- M gdk-pixbuf/io-gdip-utils.c M gdk-pixbuf/ChangeLog M gdk-pixbuf/io-gdip-native.h
Causes crash. Reopening.
13:08 < sum1> dom: can you double-check the following commit? http://git.gnome.org/cgit/gtk+/commit/?id=b559c7dacc4a7f8ee0e525192775eac5207e3cc4 13:09 < sum1> it seems that IStream_SetSize is being called before CreateStreamOnHGlobal, which causes a NULL pointer crash 13:09 < sum1> (at around line 346 or so) 13:10 < dom> woah 13:10 < dom> give me 10 minutes 13:10 < dom> this might fix a bug in bgo 13:11 < dom> http://bugzilla.gnome.org/show_bug.cgi?id=552678 13:13 < dom> nope. what you found is a bug, but not that bug 13:13 < dom> sum1: feel free to fix. the obvious fix is correct
Created attachment 141177 [details] [review] patch for the resulting NULL pointer crash
Comment on attachment 141177 [details] [review] patch for the resulting NULL pointer crash This was already committed, it seems.