projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de11ee9
)
nutenc: fix a memleak
author
Anton Khirnov
<anton@khirnov.net>
Thu, 17 Mar 2011 16:00:21 +0000
(17:00 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Thu, 17 Mar 2011 16:25:54 +0000
(16:25 +0000)
This fixes a minor memory leak introduced in 073f8b1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavformat/nutenc.c
patch
|
blob
|
history
diff --git
a/libavformat/nutenc.c
b/libavformat/nutenc.c
index
86701fa
..
fafbae8
100644
(file)
--- a/
libavformat/nutenc.c
+++ b/
libavformat/nutenc.c
@@
-846,6
+846,7
@@
static int write_trailer(AVFormatContext *s){
avio_flush(bc);
ff_nut_free_sp(nut);
av_freep(&nut->stream);
+ av_freep(&nut->chapter);
av_freep(&nut->time_base);
return 0;