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:
parent
582f53349e
commit
0329345da2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user