forked from AuroraMiddleware/gtk
Fix memory leak. (#94399)
Thu Oct 3 18:25:57 2002 Owen Taylor <otaylor@redhat.com> * io-jpeg.c (gdk_pixbuf__jpeg_image_save): Fix memory leak. (#94399)
This commit is contained in:
parent
040d54a534
commit
71277f4075
@ -1,3 +1,8 @@
|
|||||||
|
Thu Oct 3 18:25:57 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* io-jpeg.c (gdk_pixbuf__jpeg_image_save):
|
||||||
|
Fix memory leak. (#94399)
|
||||||
|
|
||||||
Tue Oct 1 17:35:43 2002 Owen Taylor <otaylor@redhat.com>
|
Tue Oct 1 17:35:43 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdkpixdata.c: Patch from Andy Wingo to always
|
* gdkpixdata.c: Patch from Andy Wingo to always
|
||||||
|
@ -902,6 +902,7 @@ gdk_pixbuf__jpeg_image_save (FILE *f,
|
|||||||
|
|
||||||
/* finish off */
|
/* finish off */
|
||||||
jpeg_finish_compress (&cinfo);
|
jpeg_finish_compress (&cinfo);
|
||||||
|
jpeg_destroy_compress(&cinfo);
|
||||||
g_free (buf);
|
g_free (buf);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user