Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
hp2xx
hp2xx-3.4.2-png-deprecated.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hp2xx-3.4.2-png-deprecated.patch of Package hp2xx
Index: sources/png.c =================================================================== --- sources/png.c.orig 2002-04-07 13:53:17.000000000 +0200 +++ sources/png.c 2010-02-25 15:14:32.256293000 +0100 @@ -38,7 +38,7 @@ void pdImagePNG(im, fd) } /* set up error handlimg for libpng */ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); return; @@ -98,7 +98,7 @@ void pdImagePNG(im, fd) png_write_end(png_ptr, info_ptr); /* if you malloced the palette, free it here */ - free(info_ptr->palette); + png_free_data(png_ptr, info_ptr, PNG_FREE_PLTE, -1); /* if you allocated any text comments, free them here */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor