[Wayland-bugs] [Bug 761312] memory leak

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 3 03:18:30 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761312

--- Comment #38 from Ray Strode [halfline] <rstrode at redhat.com> ---
Created attachment 320307
  --> https://bugzilla.gnome.org/attachment.cgi?id=320307&action=edit
wayland: use g_clear_pointer when destroying cairo surfaces

There are a few places where we destroy a cairo surface and
then nullify it. This commit changes those to use
g_clear_pointer instead.

It also drops a cairo_surface_finish call that is unnecessary

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160203/80295c38/attachment.html>


More information about the wayland-bugs mailing list