OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73cbf86
)
Fix 10l leak in ffv1.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Oct 2010 12:15:50 +0000
(12:15 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Oct 2010 12:15:50 +0000
(12:15 +0000)
Originally committed as revision 25595 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ffv1.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1.c
b/libavcodec/ffv1.c
index
e52d6f9
..
813e41d
100644
(file)
--- a/
libavcodec/ffv1.c
+++ b/
libavcodec/ffv1.c
@@
-1295,6
+1295,10
@@
static av_cold int common_end(AVCodecContext *avctx){
av_freep(&s->rc_stat2[j]);
}
+ for(i=0; i<s->slice_count; i++){
+ av_freep(&s->slice_context[i]);
+ }
+
return 0;
}