Commit be195ed1 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 0d29b7d5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment