From be195ed1d6ebc5862dbab216cfe83f8edc8a1f3d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 27 Jan 2009 22:21:28 +0000 Subject: 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 --- libavformat/4xm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/4xm.c') 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; } -- cgit v1.2.3