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



commit 66d30104807056d0ac1f1173ecd5e365159d2fee
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 758d800..97eebcf 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -236,6 +236,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]