Commit 0329345d authored by Michael Niedermayer's avatar Michael Niedermayer

mmsh/mmsh_close: use av_freep()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 582f5334
......@@ -67,8 +67,8 @@ static int mmsh_close(URLContext *h)
MMSContext *mms = &mmsh->mms;
if (mms->mms_hd)
ffurl_close(mms->mms_hd);
av_free(mms->streams);
av_free(mms->asf_header);
av_freep(&mms->streams);
av_freep(&mms->asf_header);
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