npapi-vlc | branch: master | Cheng Sun <[email protected]> | Sat Jan 21 10:47:39 2012 +0000| [60a7af019385cf2c511b847d14f8b4bab2589e4a] | committer: Cheng Sun
GTK: don't leak Cairo contexts > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=60a7af019385cf2c511b847d14f8b4bab2589e4a --- npapi/vlcplugin_gtk.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/npapi/vlcplugin_gtk.cpp b/npapi/vlcplugin_gtk.cpp index fe0a01f..09d70ad 100644 --- a/npapi/vlcplugin_gtk.cpp +++ b/npapi/vlcplugin_gtk.cpp @@ -287,6 +287,7 @@ static bool video_expose_handler(GtkWidget *widget, GdkEvent *event, gpointer us (winwidth-iconwidth)/2.0, (winheight-iconheight)/2.0); gdk_cairo_region(cr, event_expose->region); cairo_fill(cr); + cairo_destroy(cr); return true; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
