aboutsummaryrefslogtreecommitdiffstats
path: root/utils/stereorize.c
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-18 16:44:37 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-18 16:44:37 +0000
commita5c4fc7c5c66f3eb7033dfe9bab13f372f420312 (patch)
tree36359604e36f0bd18032315b264af7e41120ebaa /utils/stereorize.c
parente7fcf24d333393e808291fd319785a064de51b72 (diff)
Merged revisions 201678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r201678 | dvossel | 2009-06-18 11:37:42 -0500 (Thu, 18 Jun 2009) | 11 lines fixes some memory leaks and redundant conditions (closes issue #15269) Reported by: contactmayankjain Patches: patch.txt uploaded by contactmayankjain (license 740) memory_leak_stuff.trunk.diff uploaded by dvossel (license 671) Tested by: contactmayankjain, dvossel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@201679 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/stereorize.c')
-rw-r--r--utils/stereorize.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/stereorize.c b/utils/stereorize.c
index c8428320d..31f1b1fbe 100644
--- a/utils/stereorize.c
+++ b/utils/stereorize.c
@@ -156,4 +156,7 @@ int main( int argcount, char *args[])
}
}
/* That was an endless loop. This point is never reached. */
+ free(leftsample);
+ free(rightsample);
+ free(stereosample);
}