summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2008-01-03 22:27:58 +0000
committerTanu Kaskinen <tanuk@iki.fi>2008-01-03 22:27:58 +0000
commit1e74aa977ec0d5c6c61a8a38872eb35cd59d7899 (patch)
tree4de550e44f4b7cc722080c25059d53a2b49807e7
parent4e771768e3a444eb77162b40d639e225b53253a0 (diff)
Add a missing pa_xfree.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2094 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/modules/module-ladspa-sink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c
index bcf62290..b31037b6 100644
--- a/src/modules/module-ladspa-sink.c
+++ b/src/modules/module-ladspa-sink.c
@@ -472,6 +472,8 @@ int pa__init(pa_module*m) {
if (p > n_control || k) {
pa_log("Too many control values passed, %lu expected.", n_control);
+ if (k)
+ pa_xfree(k);
goto fail;
}