On Fri, Jun 27, 2025 at 10:09:16PM +0800, Lidong Yan wrote:
> In put_main_header(), av_mallocz() allocates memory to local variable
> buffer, buffer leaks if av_mallocz() to *out failed. Add av_free(buffer)
> before return error code.
> 
> Signed-off-by: Lidong Yan <502024330...@smail.nju.edu.cn>
> ---
>  libavcodec/vorbisenc.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to