[FFmpeg-devel] [PATCH] avutil/mem: fix memleak

Michael Niedermayer michael at niedermayer.cc
Thu Jul 28 13:13:10 EEST 2016


On Tue, Jul 19, 2016 at 12:30:54AM +0800, Zhao Zhili wrote:
> The original code assumes av_realloc() will free ptr if size is zero.
> The assumes is incorrect now.
> ---
>  libavutil/mem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160728/9a435ad0/attachment.sig>


More information about the ffmpeg-devel mailing list