ahmadfraz / lib-pdf

Automatically exported from code.google.com/p/lib-pdf
0 stars 0 forks source link

Likely memory leak #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It looks like the Poppler::Page object isn't getting cleaned up in the GetImage 
function?  Would need something like:

                memcpy(p, pngData.data(), pngData.length());
                delete page;  // Need to delete the page!
                return retVal;

Cheers,

Andrew

Original issue reported on code.google.com by a.bromw...@gmail.com on 31 May 2013 at 2:13