summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/channel_layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c
index 05ed35c078..8cc4efe4cf 100644
--- a/libavutil/channel_layout.c
+++ b/libavutil/channel_layout.c
@@ -587,6 +587,7 @@ int av_channel_layout_from_string(AVChannelLayout *channel_layout,
av_free(channel);
av_free(chname);
}
+ av_free(chlist);
return 0;
}