Bug 17201 - Memleak from setSofkMask()
Summary: Memleak from setSofkMask()
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 03:41 UTC by Chris Wilson
Modified: 2008-08-21 02:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix memleak and invalid free (2.20 KB, patch)
2008-08-19 03:41 UTC, Chris Wilson
Details | Splinter Review

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.