totem r5318 - in trunk: . src/plugins/publish



Author: pwithnall
Date: Tue Mar 25 15:25:43 2008
New Revision: 5318
URL: http://svn.gnome.org/viewvc/totem?rev=5318&view=rev

Log:
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)



Modified:
   trunk/ChangeLog
   trunk/src/plugins/publish/totem-publish.c

Modified: trunk/src/plugins/publish/totem-publish.c
==============================================================================
--- trunk/src/plugins/publish/totem-publish.c	(original)
+++ trunk/src/plugins/publish/totem-publish.c	Tue Mar 25 15:25:43 2008
@@ -264,8 +264,10 @@
 	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;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]