summaryrefslogtreecommitdiff
path: root/libavformat/4xm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-27 22:21:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-27 22:21:28 +0000
commitbe195ed1d6ebc5862dbab216cfe83f8edc8a1f3d (patch)
tree71c612fba2907fe4890ea040e211c72f878cf144 /libavformat/4xm.c
parent0d29b7d572920e03e96ca458bd2683abd1af113d (diff)
Prefer av_freep() over av_free() for variables in the context for safety.
Originally committed as revision 16838 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/4xm.c')
-rw-r--r--libavformat/4xm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index 4ccbd0ea34..513f51845a 100644
--- 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_freep(&fourxm->tracks);
return 0;
}