[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 de Castro Lopo

More information about the flac-dev mailing list