[pulseaudio-commits] r2152 - /trunk/src/modules/module-ladspa-sink.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Mar 27 16:21:16 PDT 2008


Author: lennart
Date: Fri Mar 28 00:21:16 2008
New Revision: 2152

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2152&root=pulseaudio&view=rev
Log:
remove a redundant if check

Modified:
    trunk/src/modules/module-ladspa-sink.c

Modified: trunk/src/modules/module-ladspa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-ladspa-sink.c?rev=2152&root=pulseaudio&r1=2151&r2=2152&view=diff
==============================================================================
--- trunk/src/modules/module-ladspa-sink.c (original)
+++ trunk/src/modules/module-ladspa-sink.c Fri Mar 28 00:21:16 2008
@@ -472,8 +472,7 @@
 
         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;
         }
 




More information about the pulseaudio-commits mailing list