Displaying 1 result from an estimated 1 matches for "realloc_memleak_fix".
2015 Jul 06
5
[PATCH] for potential memory leaks
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