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/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to