[Kde-pim] KMail: crash after double-freed pixmap memory
Till Adam
till at kdab.net
Mon Apr 7 15:36:22 BST 2008
On Friday 04 April 2008 00:13:52 Jarosław Staniek wrote:
> I've noticed there's potentially evil
>
> static QPixmap mergedpix;
>
> in const QPixmap *HeaderItem::pixmap(int col) const.
>
> I guess that may be the reason why I've encountered crash in
> QRasterPaintEngine::~QRasterPaintEngine() at free(d->rasterPoolBase);
> - d->rasterPoolBase points to a freed memory.
>
> Is that assumption OK?
It's certainly possible. I guess that's why the other images are done as
QPixmap*
Cheers,
till
--
Till Adam
KDAB - platform independent software services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080407/8fe9c7ba/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list