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:
0d29b7d
)
Prefer av_freep() over av_free() for variables in the context for safety.
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 27 Jan 2009 22:21:28 +0000
(22:21 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 27 Jan 2009 22:21:28 +0000
(22:21 +0000)
Originally committed as revision 16838 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/4xm.c
patch
|
blob
|
history
diff --git
a/libavformat/4xm.c
b/libavformat/4xm.c
index 4ccbd0ea34bf47b79c3680e3bdb1fe690d17f640..513f51845abfe0979d899dc6dce3e6771fbb035c 100644
(file)
--- a/
libavformat/4xm.c
+++ b/
libavformat/4xm.c
@@
-330,7
+330,7
@@
static int fourxm_read_close(AVFormatContext *s)
{
FourxmDemuxContext *fourxm = s->priv_data;
- av_free
(
fourxm->tracks);
+ av_free
p(&
fourxm->tracks);
return 0;
}