ref: c78ac707b07a3c8dea4685274cb6f1b3ba1ea93f
parent: cf89765a24a87c2bf7826489bfb8b7ae8ff03c55
author: robs <robs>
date: Sun Feb 25 11:59:42 EST 2007
Fix crash with pan effect.
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,7 @@
o Fix (m)compand transfer function non-linearities; fix compand
drain volume. (robs)
+ o Fix crash with pan effect. (robs)
Internal improvements:
--- a/src/pan.c
+++ b/src/pan.c
@@ -402,7 +402,7 @@
break;
} /* end switch out channel */
- free(ibuf_copy);
+ free(ibuf_copy - len * ich);
return SOX_SUCCESS;
}