aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fft-test.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-06 07:09:12 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-06 07:09:12 +0000
commit85fbad4555448c27e9b40b44663f5bd1dde452d2 (patch)
treefd97f85d50b659aee5c2d4a25c7945f724423787 /libavcodec/fft-test.c
parent7e13022a4dfd412229ccca4adb6f60b8331b5adf (diff)
downloadffmpeg-85fbad4555448c27e9b40b44663f5bd1dde452d2.tar.gz
fft-test: free buffers before exiting
Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r--libavcodec/fft-test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index 237fb47452..5a1249425e 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -446,5 +446,12 @@ int main(int argc, char **argv)
ff_dct_end(d);
break;
}
+
+ av_free(tab);
+ av_free(tab1);
+ av_free(tab2);
+ av_free(tab_ref);
+ av_free(exptab);
+
return err;
}