Skip to content
Snippets Groups Projects
Commit bcdddb9c authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes leak in test_opus

parent 617fcd2c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
#include "SKP_debug.h"
#define MAX_PACKET 1024
#define MAX_PACKET 1500
void print_usage( char* argv[] )
{
......@@ -351,6 +351,9 @@ int main(int argc, char *argv[])
SKP_TimerSave("opus_timing.txt");
opus_encoder_destroy(enc);
opus_decoder_destroy(dec);
free(data[0]);
if (use_inbandfec)
free(data[1]);
fclose(fin);
fclose(fout);
free(in);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment