1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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