Bug 2972 - cairo_image_surface_create_for_png FILE*
Summary: cairo_image_surface_create_for_png FILE*
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: png functions (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 08:53 UTC by Owen Taylor
Modified: 2005-08-22 00:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.