Browse Source

mmsh/mmsh_close: use av_freep()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
0329345da2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/mmsh.c

+ 2
- 2
libavformat/mmsh.c 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;
}



Loading…
Cancel
Save