diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-24 04:41:58 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-26 03:03:59 +0100 |
commit | 05457a3661371f7248b5602bf96c5011ab0b0d25 (patch) | |
tree | 2837812fdc6ca1239eb618d201987088ee40d604 /libavformat/oggdec.c | |
parent | 3ec3370deac4d21538ef03d8547a12f3acb7bfa8 (diff) | |
download | ffmpeg-05457a3661371f7248b5602bf96c5011ab0b0d25.tar.gz |
avformat/libgme: Fix memleaks on errors
Also free the gme_info_t structure immediately after its use.
This simplifies cleanup, because it might be unsafe to call
gme_free_info(NULL) (or even worse, gme_track_info() might even
on error set the pointer to the gme_info_t structure to something
else than NULL).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/oggdec.c')
0 files changed, 0 insertions, 0 deletions