changeset 12370:71b2c440157d libavcodec

fft-test: free buffers before exiting
author mru
date Fri, 06 Aug 2010 07:09:12 +0000
parents 4787027b74b1
children 5dffb531b1cc
files fft-test.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/fft-test.c	Thu Aug 05 20:03:54 2010 +0000
+++ b/fft-test.c	Fri Aug 06 07:09:12 2010 +0000
@@ -446,5 +446,12 @@
         ff_dct_end(d);
         break;
     }
+
+    av_free(tab);
+    av_free(tab1);
+    av_free(tab2);
+    av_free(tab_ref);
+    av_free(exptab);
+
     return err;
 }