gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer static, thus
* gdk-pixbuf-io.h: gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer static, thus _gdk_pixbuf-prefixed. * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): Keep this logic in sync with gdk_pixbuf_new_from_file(). (Based on a patch by Anders Carlsson) * io-png.c (gdk_pixbuf__png_image_save): Plug a memory leak. (#91422, Sven Neumann)
This commit is contained in:
@ -877,7 +877,7 @@ gdk_pixbuf__png_image_save (FILE *f,
|
||||
png_write_end (png_ptr, info_ptr);
|
||||
|
||||
cleanup:
|
||||
png_destroy_write_struct (&png_ptr, (png_infopp) NULL);
|
||||
png_destroy_write_struct (&png_ptr, &info_ptr);
|
||||
|
||||
if (num_keys > 0) {
|
||||
for (i = 0; i < num_keys; i++)
|
||||
|
||||
Reference in New Issue
Block a user