Skip to content
Snippets Groups Projects
Commit be195ed1 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -330,7 +330,7 @@ static int fourxm_read_close(AVFormatContext *s) ...@@ -330,7 +330,7 @@ static int fourxm_read_close(AVFormatContext *s)
{ {
FourxmDemuxContext *fourxm = s->priv_data; FourxmDemuxContext *fourxm = s->priv_data;
av_free(fourxm->tracks); av_freep(&fourxm->tracks);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment