diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-15 15:44:53 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-15 16:18:10 +0100 |
commit | 9e241bdffd310711c48799cb7a919df61488432c (patch) | |
tree | 4597f587183cb09b42f1e5d37748d2a0892e0bb4 | |
parent | 5b59c072f503a448c7988d27e6e60ee8cf8cdf6d (diff) |
avutil/channel_layout: Fix leak of string
Fixes memleaks in the channel_layout FATE-test.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavutil/channel_layout.c | 1 |
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; } |