summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-ladspa-sink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c
index b31037b6..fcfeffd5 100644
--- a/src/modules/module-ladspa-sink.c
+++ b/src/modules/module-ladspa-sink.c
@@ -472,8 +472,7 @@ 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);
+ pa_xfree(k);
goto fail;
}