Bug 2972

Summary: cairo_image_surface_create_for_png FILE*
Product: cairo Reporter: Owen Taylor <otaylor>
Component: png functionsAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Owen Taylor 2005-04-11 08:53:07 UTC
This function currently takes a FILE * then fclose()'s it.

This is very unexpected, and is similar to a function that takes a
char * then later frees it.

(Pointed out by Steve Chaplin:
http://lists.freedesktop.org/archives/cairo/2005-April/003662.html)
Comment 1 Owen Taylor 2005-04-11 08:59:20 UTC
corrected component to PNG not PDF.
Comment 2 Steve Chaplin 2005-04-27 00:52:20 UTC
The recent png changes in cvs fixes this problem, so it should be OK to close
this bugreport now.
Comment 3 Carl Worth 2005-04-27 08:22:10 UTC
As noted, this has been fixed already.
Comment 4 Carl Worth 2005-08-22 17:14:43 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.