[totem] thumbnailer: Fix memory leak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] thumbnailer: Fix memory leak
- Date: Mon, 3 Oct 2016 21:48:56 +0000 (UTC)
commit 0042293877cfa482c85eb4920bb77ec64dd999ea
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]