Browse Source

fft-test: free buffers before exiting

Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
85fbad4555
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      libavcodec/fft-test.c

+ 7
- 0
libavcodec/fft-test.c View 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;
}

Loading…
Cancel
Save