Bug 19209

Summary: src/cairo-quartz-font.c:146: Memory leak: full_name
Product: cairo Reporter: dvice_null
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.9.1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description dvice_null 2008-12-20 11:11:06 UTC
This was found from the latest git version.

In file src/cairo-quartz-font.c:146: 
Variable full_name leaks memory when this "if" is executed:

    if (! _cairo_quartz_font_symbols_present)
	return _cairo_error (CAIRO_STATUS_NO_MEMORY);

This bug was found using cppcheck: http://cppcheck.wiki.sourceforge.net/
Comment 1 Chris Wilson 2008-12-20 11:18:45 UTC
Fixed applied to local tree.

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.