[flac-dev] [PATCH] for potential memory leaks
Erik de Castro Lopo
mle+la at mega-nerd.com
Mon Jul 6 13:20:09 PDT 2015
lvqcl wrote:
> libFLAC has several places like this:
>
> if(0 == (ptr = realloc(ptr, size)))
> return false;
>
> which results in memory leaks if realloc fails (the old value of ptr is lost).
> The patch should fix this.
Applied. Thanks.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list