Bug 17201

Summary: Memleak from setSofkMask()
Product: poppler Reporter: Chris Wilson <chris>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix memleak and invalid free

Description Chris Wilson 2008-08-19 03:41:55 UTC
Created attachment 18378 [details] [review]
Fix memleak and invalid free

CairoOutputDev::setSoftMask() fails to free the cairo_t and mask it uses to draw the opaque soft mask and attempts to destroy a reference to a surface it does not own (this bug was masked by the fact that a reference was still being held by the unfreed cairo_t).
Comment 1 Carlos Garcia Campos 2008-08-21 02:34:08 UTC
Applied to master and 0.8 branch. Thank you very much. 

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.