summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@svn.gnome.org>2008-03-25 15:25:43 +0000
committerPhilip Withnall <pwithnall@src.gnome.org>2008-03-25 15:25:43 +0000
commitd10f7ad4718aa8be0ee25f505d0232984849631e (patch)
tree23bf90cd7eb94ff409bb22fae48a794d768f209a /src/plugins
parent67bba74ca071a874e325aa0e45a92095622f59da (diff)
Patch from Mathias Hasselmann <mathias.hasselmann@gmx.de> to properly
2008-03-25 Philip Withnall <pwithnall@svn.gnome.org> * src/plugins/publish/totem-publish.c: (totem_publish_plugin_media_cb): Patch from Mathias Hasselmann <mathias.hasselmann@gmx.de> to properly unref the input stream in the publish plugin. (Closes: #512589) svn path=/trunk/; revision=5318
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/publish/totem-publish.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/publish/totem-publish.c b/src/plugins/publish/totem-publish.c
index 3f36c220..eeb881bc 100644
--- a/src/plugins/publish/totem-publish.c
+++ b/src/plugins/publish/totem-publish.c
@@ -264,8 +264,10 @@ totem_publish_plugin_media_cb (EpcPublisher *publisher,
g_object_unref (file);
if (stream) {
- EpcContents *output = epc_contents_stream_new (NULL, totem_publish_plugin_stream_cb, stream, NULL);
- g_object_unref (stream);
+ EpcContents *output = epc_contents_stream_new (
+ NULL, totem_publish_plugin_stream_cb,
+ stream, g_object_unref);
+
return output;
}