summaryrefslogtreecommitdiff
path: root/src/totem-video-thumbnailer.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-10-03 23:46:55 +0200
committerBastien Nocera <hadess@hadess.net>2016-10-03 23:48:46 +0200
commit0042293877cfa482c85eb4920bb77ec64dd999ea (patch)
treefb6ce8d4ac9148fc117877ea90536fb13296bb5a /src/totem-video-thumbnailer.c
parentb0a25cbb6f39e149c39219256bd1c0735dfc7808 (diff)
downloadtotem-0042293877cfa482c85eb4920bb77ec64dd999ea.tar.gz
thumbnailer: Fix memory leak
Spotted by denniswbb@web.de https://bugzilla.gnome.org/show_bug.cgi?id=772377
Diffstat (limited to 'src/totem-video-thumbnailer.c')
-rw-r--r--src/totem-video-thumbnailer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index 758d8004a..97eebcf58 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