ext/pulse/pulsemixerctrl.c: Don't leak the pa_operation.
authorStefan Kost <ensonic@users.sourceforge.net>
Wed, 17 Dec 2008 17:28:39 +0000 (17:28 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Wed, 17 Dec 2008 17:28:39 +0000 (17:28 +0000)
Original commit message from CVS:
* ext/pulse/pulsemixerctrl.c:
Don't leak the pa_operation.

ChangeLog
common
ext/pulse/pulsemixerctrl.c

index f4f86ce..679cf75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-17  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/pulse/pulsemixerctrl.c:
+         Don't leak the pa_operation.
+
 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
 
        * configure.ac:
diff --git a/common b/common
index 2c4d28a..5dc8ae3 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 2c4d28a75c26e572b94a967901254caff83d85c4
+Subproject commit 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d9
index 0a2cdf8..dc96124 100644 (file)
@@ -270,6 +270,8 @@ gst_pulsemixer_ctrl_open (GstPulseMixerCtrl * c)
         pa_strerror (pa_context_errno (c->context)));
     goto unlock_and_fail;
   }
+  pa_operation_unref (o);
+  o = NULL;
 
   /* Get sink info */