[FFmpeg-devel] [PATCH 2/5] avformat/rtpdec_latm: fix leak in parse_fmtp_config()
Michael Niedermayer
michael at niedermayer.cc
Mon Jun 30 04:04:10 EEST 2025
On Sun, Jun 29, 2025 at 02:45:23PM +0800, Lidong Yan wrote:
> 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 at smail.nju.edu.cn>
> ---
> libavformat/rtpdec_latm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship: All citizens are under surveillance, all their steps and
actions recorded, for the politicians to enforce control.
Democracy: All politicians are under surveillance, all their steps and
actions recorded, for the citizens to enforce control.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250630/af37450e/attachment.sig>
More information about the ffmpeg-devel
mailing list