diff options
author | Lidong Yan <yldhome2d2@gmail.com> | 2025-06-29 14:45:23 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-07-03 23:04:57 +0200 |
commit | 7ed5a7094fe6430e9295424623e740dd57873a6e (patch) | |
tree | 71f95d1cd60d4c4c87a013d1d59bfc16f139fcbe /libavutil/hwcontext_cuda.c | |
parent | ba984355fe5c6015cf155b2840276206bb31b502 (diff) | |
download | ffmpeg-7ed5a7094fe6430e9295424623e740dd57873a6e.tar.gz |
avformat/rtpdec_latm: fix leak in parse_fmtp_config()
av_mallocz() allocates memory in config, but we forget to free it
if init_get_bits() failed. Replace return ret with goto end.
Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/hwcontext_cuda.c')
0 files changed, 0 insertions, 0 deletions