mmsh/mmsh_close: use av_freep()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-06-17 21:31:07 +02:00
parent 582f53349e
commit 0329345da2
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}