summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/xmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index 73c666ddf9..5fcc540169 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -546,7 +546,7 @@ static int xmv_read_close(AVFormatContext *s)
{
XMVDemuxContext *xmv = s->priv_data;
- av_free(xmv->audio);
+ av_freep(&xmv->audio);
return 0;
}