Commit 71277f40 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

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)
parent 040d54a5
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>
* gdkpixdata.c: Patch from Andy Wingo to always
......
......@@ -901,7 +901,8 @@ gdk_pixbuf__jpeg_image_save (FILE *f,
}
/* finish off */
jpeg_finish_compress (&cinfo);
jpeg_finish_compress (&cinfo);
jpeg_destroy_compress(&cinfo);
g_free (buf);
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment