diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-17 23:31:07 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-17 23:33:12 +0400 |
commit | 0329345da24e20ea964bd4b9711dab3f2ff04fd4 (patch) | |
tree | c94ccdbe6000928bba01060d31cc760eec9738a7 /libavformat/mmsh.c | |
parent | 582f53349eabd75164d4389503eb95048982cfdc (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.c | 4 |
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; } |