You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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>
This commit is contained in:
@@ -587,6 +587,7 @@ int av_channel_layout_from_string(AVChannelLayout *channel_layout,
|
|||||||
av_free(channel);
|
av_free(channel);
|
||||||
av_free(chname);
|
av_free(chname);
|
||||||
}
|
}
|
||||||
|
av_free(chlist);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user