Unverified Commit c60a7634 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

fix leak in example

parent 95caa590
...@@ -50,6 +50,7 @@ int main(int argc, char **argv) { ...@@ -50,6 +50,7 @@ int main(int argc, char **argv) {
for (i=0;i<FRAME_SIZE;i++) tmp[i] = x[i]; for (i=0;i<FRAME_SIZE;i++) tmp[i] = x[i];
fwrite(tmp, sizeof(short), FRAME_SIZE, fout); fwrite(tmp, sizeof(short), FRAME_SIZE, fout);
} }
rnnoise_destroy(st);
fclose(f1); fclose(f1);
fclose(fout); fclose(fout);
return 0; return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment