X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmmst.c;h=653b403bc4ea9b41e9fef4382ebe2a0b52ce24fe;hb=fb22e5ae4585c31fcf4ebe1d255f6eeb24d600e3;hp=c851187dafb644c941b6c381ae4025a9e0073670;hpb=6fcdcc414b6541cb6548f462710d344fb844bafc;p=ffmpeg diff --git a/libavformat/mmst.c b/libavformat/mmst.c index c851187dafb..653b403bc4e 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -477,8 +477,8 @@ static int mms_close(URLContext *h) } /* free all separately allocated pointers in mms */ - av_free(mms->streams); - av_free(mms->asf_header); + av_freep(&mms->streams); + av_freep(&mms->asf_header); return 0; }