projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652a3cc
)
vpx_temporal_svc_encoder: fix memory leak on success
author
James Zern
<jzern@google.com>
Thu, 22 May 2014 03:02:52 +0000
(20:02 -0700)
committer
James Zern
<jzern@google.com>
Thu, 22 May 2014 03:04:06 +0000
(20:04 -0700)
more work would be necessary to avoid leaks in all failure cases
Change-Id: I9c92ae1c34e120b17109bc832b6b2789b909761d
examples/vpx_temporal_svc_encoder.c
patch
|
blob
|
history
diff --git
a/examples/vpx_temporal_svc_encoder.c
b/examples/vpx_temporal_svc_encoder.c
index
e45b50c
..
9f32bd8
100644
(file)
--- a/
examples/vpx_temporal_svc_encoder.c
+++ b/
examples/vpx_temporal_svc_encoder.c
@@
-663,5
+663,6
@@
int main(int argc, char **argv) {
for (i = 0; i < cfg.ts_number_layers; ++i)
vpx_video_writer_close(outfile[i]);
+ vpx_img_free(&raw);
return EXIT_SUCCESS;
}