[poppler] Memory leak in SplashOutputDev::axialShadedFill

Thomas Freitag Thomas.Freitag at kabelmail.de
Tue Jan 25 00:05:36 PST 2011


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!

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
>
> .
>




More information about the poppler mailing list