Bug 57758

Summary: [Cairo] Memory leak in RefPtrCairo
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, xan.lopez
Priority: P3 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Martin Robinson 2011-04-04 08:55:46 PDT
template<> void derefIfNotNull(cairo_font_face_t* ptr)
62      {
63          if (LIKELY(ptr != 0))
64              cairo_font_face_reference(ptr);
65      }

Line 64 should certainly read cairo_font_face_destroy.
Comment 1 Martin Robinson 2011-04-04 09:12:26 PDT
Created attachment 88067 [details]
Patch
Comment 2 Xan Lopez 2011-04-04 16:06:10 PDT
Comment on attachment 88067 [details]
Patch

wow, oops?
Comment 3 Martin Robinson 2011-04-04 16:19:20 PDT
Comment on attachment 88067 [details]
Patch

Clearing flags on attachment: 88067

Committed r82890: <http://trac.webkit.org/changeset/82890>
Comment 4 Martin Robinson 2011-04-04 16:19:24 PDT
All reviewed patches have been landed.  Closing bug.