[Fontconfig] [PATCH] fix a potentional memory leak
madman2003 at gmail.com
Sat Nov 8 16:32:27 PST 2008
It is my understanding that if realloc returns NULL, it did nothing.
You then proceed to allocate and copy manually
As far as i understand you should also free e0 afterwards. This should
be confirmed by someone who knows the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 677 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20081109/c692da98/attachment.obj
More information about the Fontconfig