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:
c49a3ec
)
av_free() -> av_freep(), patch by Reimar Doffinger, see discussion in
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 28 Dec 2008 23:25:17 +0000
(23:25 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Sun, 28 Dec 2008 23:25:17 +0000
(23:25 +0000)
"rmdec.c: double free" thread on mailinglist.
Originally committed as revision 16379 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
01e335b
..
2471f94
100644
(file)
--- a/
libavformat/rmdec.c
+++ b/
libavformat/rmdec.c
@@
-81,8
+81,8
@@
RMStream *ff_rm_alloc_rmstream (void)
void ff_rm_free_rmstream (RMStream *rms)
{
- av_free
(
rms->videobuf);
- av_free
(
rms->audiobuf);
+ av_free
p(&
rms->videobuf);
+ av_free
p(&
rms->audiobuf);
}
static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb,