ref: 21a037183666870fda73dd7a24868ee41c3603b7
parent: 652a3cc29fcd1ca49161f49e7637805ab2f06f88
author: James Zern <jzern@google.com>
date: Wed May 21 16:02:52 EDT 2014
vpx_temporal_svc_encoder: fix memory leak on success more work would be necessary to avoid leaks in all failure cases Change-Id: I9c92ae1c34e120b17109bc832b6b2789b909761d
--- a/examples/vpx_temporal_svc_encoder.c
+++ b/examples/vpx_temporal_svc_encoder.c
@@ -663,5 +663,6 @@
for (i = 0; i < cfg.ts_number_layers; ++i)
vpx_video_writer_close(outfile[i]);
+ vpx_img_free(&raw);
return EXIT_SUCCESS;
}