shithub: sox

Download patch

ref: bdd4e605a81ae2defaa710054c866d007427e5ae
parent: 1a3d3a23c9a1ca07185457651c0c7b7076fec40a
author: cbagwell <cbagwell>
date: Wed Aug 20 22:48:07 EDT 2008

Fix double free of effects.

--- a/src/effects.c
+++ b/src/effects.c
@@ -390,8 +390,9 @@
     {
         effp[f].handler.kill(&effp[f]);
         free(effp[f].priv);
-        free(&effp[f]);
     }
+    free(effp);
+
 }
 
 /* Remove all effects from the chain.