Bug 18322

Summary: bug in _cairo_directfb_surface_release_source_image function
Product: cairo Reporter: haithem <haithem.rahmani>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.8.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description haithem 2008-10-31 01:12:08 UTC
Hi Carl,

The function uses a variable "surface" without declaring it.

    D_DEBUG_AT (CairoDFB_Acquire,
                "%s( surface=%p ).\n", __FUNCTION__, surface);

which leads to a failure when compiling for cairo/directfb.

The fix, exists already in the 1.8.0, just to add:

 cairo_directfb_surface_t *surface = abstract_surface;

regards.
Comment 1 Chris Wilson 2008-10-31 01:44:29 UTC
Commited to my local 1.8 branch will push in the next batch.

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.