Bug 13254

Summary: cairo_text_path() on Windows XP 64bit segfault
Product: cairo Reporter: brooss.teambb
Component: win32 backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: medium    
Version: 1.5.2   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Remove an extra free(buffer) in _cairo_win32_scaled_font_init_glyph_path

Description brooss.teambb 2007-11-15 02:00:49 UTC
On Windows XP Pro 64bit using SDL for display.
cairo_text_path() works perfectly sometimes and crashes with segfault others (with same parameters). 
Seems to be introduced in 1.5.2
Comment 1 brooss.teambb 2007-11-15 02:14:27 UTC
Created attachment 12565 [details] [review]
Remove an extra free(buffer) in _cairo_win32_scaled_font_init_glyph_path

It seems that a cleanup of _cairo_win32_scaled_font_init_glyph_path left it trying to free(buffer) twice in some cases.
Comment 2 Vladimir Vukicevic 2007-11-15 11:58:24 UTC
Whoops, yes, that's definitely the problem.  I just pushed out a change that removes the free.  Thanks for catching this!

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.