Blob Blame History Raw
--- gst-plugins-good-0.10.11.old/ext/pulse/pulseprobe.c	2008-10-11 01:13:34.000000000 +0200
+++ gst-plugins-good-0.10.11/ext/pulse/pulseprobe.c	2009-01-14 14:38:33.000000000 +0100
@@ -263,7 +263,7 @@
   GstPulseProbe *c = NULL;
 
   c = g_new (GstPulseProbe, 1);
-  c->object = g_object_ref (object);
+  c->object = object; /* We don't inc the ref counter here to avoid a ref loop */
   c->server = g_strdup (server);
   c->enumerate_sinks = sinks;
   c->enumerate_sources = sources;
@@ -293,8 +293,6 @@
   g_list_foreach (c->devices, (GFunc) g_free, NULL);
   g_list_free (c->devices);
 
-  g_object_unref (c->object);
-
   g_free (c);
 }