[flac-dev] [PATCH] for potential memory leaks
lvqcl
lvqcl.mail at gmail.com
Mon Jul 6 04:32:23 PDT 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: realloc_memleak_fix.patch
Type: application/octet-stream
Size: 6272 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150706/2d957d95/attachment.obj
More information about the flac-dev
mailing list