summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-03-27 23:21:16 +0000
committerLennart Poettering <lennart@poettering.net>2008-03-27 23:21:16 +0000
commit1908e82bea7a98cb21ea7419cf963e9a874cd6d6 (patch)
tree2100d484f8057e7b535cf7d9bc871f6bbc9e0f09
parent6c106c9e8e92902a349c5fd00f6a191b8d950f0c (diff)
remove a redundant if check
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2152 fefdeb5f-60dc-0310-8127-8f9354f1896f
-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;
}