[rhythmbox/mallard-help] metadata: add missing unrefs
- From: Sindhu S <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/mallard-help] metadata: add missing unrefs
- Date: Mon, 25 Mar 2013 15:42:56 +0000 (UTC)
commit 2376375b2b46fabd974657c6cd48631c12c31dbb
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Mar 20 08:27:36 2013 +1000
metadata: add missing unrefs
Fixes fd leaks when typefinding files that the discoverer didn't
identify.
metadata/rb-metadata-gst.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/metadata/rb-metadata-gst.c b/metadata/rb-metadata-gst.c
index 19ab56c..288a6d8 100644
--- a/metadata/rb-metadata-gst.c
+++ b/metadata/rb-metadata-gst.c
@@ -149,8 +149,11 @@ run_typefind (RBMetaData *md, const char *uri)
default:
break;
}
+
+ gst_message_unref (message);
}
+ g_object_unref (bus);
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]