[poppler] Memory leak in SplashOutputDev::axialShadedFill

Albert Astals Cid aacid at kde.org
Tue Jan 25 12:27:14 PST 2011


A Dimarts, 25 de gener de 2011, Thomas Freitag va escriure:
> Am 24.01.2011 19:57, schrieb Albert Astals Cid:
> > A Dilluns, 24 de gener de 2011, Thomas Freitag va escriure:
> >> Hi!
> >> 
> >> Using valgrind with the well known ducks&  roses I encountered, that I
> >> forgot do delete the pattern object in SplashOutputDev::axialShadedFill,
> >> 
> >> so the correct last statements should be:
> >>     delete pattern;
> >>     delete path;
> >>     
> >>     return retVal;
> >> 
> >> }
> > 
> > That's with or without your patch?
> 
> It doesn't belong the radial shading patch, the "delete pattern" was
> forgotten in patch for bug 30436!

Commited.

Albert

> 
> Thomas
> 
> > Albert
> > 
> >> Thomas
> >> 
> >> _______________________________________________
> >> poppler mailing list
> >> poppler at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/poppler
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/poppler
> > 
> > .
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list