diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-01-27 22:21:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-01-27 22:21:28 +0000 |
commit | be195ed1d6ebc5862dbab216cfe83f8edc8a1f3d (patch) | |
tree | 71c612fba2907fe4890ea040e211c72f878cf144 | |
parent | 0d29b7d572920e03e96ca458bd2683abd1af113d (diff) | |
download | ffmpeg-be195ed1d6ebc5862dbab216cfe83f8edc8a1f3d.tar.gz |
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
-rw-r--r-- | libavformat/4xm.c | 2 |
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; } |