fft-test: free buffers before exiting
authorMåns Rullgård <mans@mansr.com>
Fri, 6 Aug 2010 07:09:12 +0000 (07:09 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 6 Aug 2010 07:09:12 +0000 (07:09 +0000)
Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/fft-test.c

index 237fb47..5a12494 100644 (file)
@@ -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;
 }