Commit 21a03718 authored by James Zern's avatar James Zern
Browse files

vpx_temporal_svc_encoder: fix memory leak on success

more work would be necessary to avoid leaks in all failure cases

Change-Id: I9c92ae1c34e120b17109bc832b6b2789b909761d
parent 652a3cc2
...@@ -663,5 +663,6 @@ int main(int argc, char **argv) { ...@@ -663,5 +663,6 @@ int main(int argc, char **argv) {
for (i = 0; i < cfg.ts_number_layers; ++i) for (i = 0; i < cfg.ts_number_layers; ++i)
vpx_video_writer_close(outfile[i]); vpx_video_writer_close(outfile[i]);
vpx_img_free(&raw);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
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