projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476d301
)
cbs_h2645: Fix memory leak on when reading SEI fails
author
Mark Thompson
<sw@jkqxz.net>
Thu, 9 Nov 2017 01:04:30 +0000
(
01:04
+0000)
committer
Mark Thompson
<sw@jkqxz.net>
Sun, 12 Nov 2017 16:00:41 +0000
(16:00 +0000)
libavcodec/cbs_h2645.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/cbs_h2645.c
b/libavcodec/cbs_h2645.c
index
a1b887f
..
61729cc
100644
(file)
--- a/
libavcodec/cbs_h2645.c
+++ b/
libavcodec/cbs_h2645.c
@@
-821,6
+821,7
@@
static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
err = cbs_h264_read_sei(ctx, &bc, sei);
if (err < 0) {
cbs_h264_free_sei(sei);
+ av_free(sei);
return err;
}