summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-12-17 17:28:39 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-12-17 17:28:39 +0000
commitbf0d9e34c2a4b187346a0fd7f8bbb81f848756b0 (patch)
treedee54809858d78a3e6461fb75a3b8811a5765f28
parent512a26ef777fcf43451cfed211ce95559d4c3768 (diff)
ext/pulse/pulsemixerctrl.c: Don't leak the pa_operation.
Original commit message from CVS: * ext/pulse/pulsemixerctrl.c: Don't leak the pa_operation.
-rw-r--r--ChangeLog5
m---------common0
-rw-r--r--ext/pulse/pulsemixerctrl.c2
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f4f86ceb..679cf75e 100644
--- 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
-Subproject 2c4d28a75c26e572b94a967901254caff83d85c
+Subproject 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d
diff --git a/ext/pulse/pulsemixerctrl.c b/ext/pulse/pulsemixerctrl.c
index 0a2cdf81..dc961241 100644
--- a/ext/pulse/pulsemixerctrl.c
+++ b/ext/pulse/pulsemixerctrl.c
@@ -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 */