Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-17 23:31:07 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-06-17 23:33:12 +0400
commit0329345da24e20ea964bd4b9711dab3f2ff04fd4 (patch)
treec94ccdbe6000928bba01060d31cc760eec9738a7 /libavformat/mmsh.c
parent582f53349eabd75164d4389503eb95048982cfdc (diff)
mmsh/mmsh_close: use av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mmsh.c')
-rw-r--r--libavformat/mmsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c
index 86a0575e59..10d2a043f1 100644
--- a/libavformat/mmsh.c
+++ b/libavformat/mmsh.c
@@ -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;
}