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
This commit is contained in:
parent
0d29b7d572
commit
be195ed1d6
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user