pixmap leak in KDE 4.5 RC2

Aaron J. Seigo aseigo at kde.org
Tue Jul 13 22:25:11 CEST 2010


On July 12, 2010, Marco Martin wrote:
> icon seems to have too many copies that's true)

the 'i' icon comes from the BusyWidget in the notifications Applet.

Notifications calls this when a notification is added:

    Plasma::Animation *pulse = 
Plasma::Animator::create(Plasma::Animator::PulseAnimation, m_busyWidget);

PulseAnimation creates a WidgetSnapshot. with no parent.

WidgetSnapshot creates a pixmap snapshot of the widget.

PulseAnimation never deletes the WdigetSnapshot.

pixmap leak. lots and lots of 'i's.

at least that's the theory. i've committed and backported. kisses.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100713/2051a611/attachment.sig 


More information about the Plasma-devel mailing list