[poppler] fix memory leak in GooString

Albert Astals Cid aacid at kde.org
Wed Nov 9 03:43:16 PST 2011


A Dimecres, 9 de novembre de 2011, kenji uno vàreu escriure:
> Hi.
> 
> I found memory leak problem in GooString.
> 
> I'll attach the patch file for fixing the problem. It is for latest
> poppler-0.18 HEAD git.

Thanks for the patch, I've commited it.

Albert

P.S: Actually the patch was "wrong" since you have to use gfree and not 
delete[] so I commited the fixed version

> 
> MSVC 2005 Debug C runtime reported many memory leaks from GooString, while
> I'm working on PDF4Ax project.
> 
> Thanks
> KU


More information about the poppler mailing list