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:
28215b3
)
free private streamcontext when closing demuxer, fix memory leak, patch by Art Clarke...
author
Art Clarke
<aclarke@vlideshow.com>
Wed, 18 Jun 2008 08:30:50 +0000
(08:30 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Wed, 18 Jun 2008 08:30:50 +0000
(08:30 +0000)
Originally committed as revision 13800 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index 76c25a3e4d6de9d22f1d54d7f99f8bbabb3a0762..5f3577c4db9fe1e0ade75e39c3c549f3c05d653e 100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-1899,6
+1899,7
@@
static int mov_read_close(AVFormatContext *s)
av_freep(&sc->drefs);
if (sc->pb && sc->pb != s->pb)
url_fclose(sc->pb);
+ av_freep(&sc);
}
if(mov->dv_demux){
for(i=0; i<mov->dv_fctx->nb_streams; i++){