[totem/gnome-3-18] thumbnailer: Fix memory leak



commit 77819c39ff4a1c69db7496ea9dcf60d860235ff6
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 3 23:46:55 2016 +0200

    thumbnailer: Fix memory leak
    
    Spotted by denniswbb web de
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772377

 src/totem-video-thumbnailer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index d706434..415e424 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -238,6 +238,7 @@ thumb_app_set_error_handler (ThumbApp *app)
 
        bus = gst_element_get_bus (app->play);
        gst_bus_set_sync_handler (bus, (GstBusSyncHandler) error_handler, app->play, NULL);
+       g_object_unref (bus);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]