Bug 41657 - QWebSettings leaks pixmaps at program end on X11
Summary: QWebSettings leaks pixmaps at program end on X11
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-07-06 00:19 PDT by marc
Modified: 2010-07-07 04:39 PDT (History)
1 user (show)

See Also:

Proposed fix (1.99 KB, patch)
2010-07-06 00:26 PDT, marc
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marc 2010-07-06 00:19:23 PDT
On X11, when ending an application that used QtWebKit, I get an error message:
> ~QX11PixmapData(): QPixmap objects must be destroyed before the QApplication object, otherwise the native pixmap object will be leaked.
Comment 1 marc 2010-07-06 00:26:11 PDT
Created attachment 60599 [details]
Proposed fix
Comment 2 Adam Barth 2010-07-07 03:25:32 PDT
Comment on attachment 60599 [details]
Proposed fix

Thanks for the informative ChangeLog.  I'm not a Qt expert, but this change is convincing.  Too bad memory leaks are hard to test...
Comment 3 marc 2010-07-07 03:38:20 PDT
Apparently, the warning is bogus, and removed in the upcoming Qt 4.7. Still, the change doesn't hurt, and avoids the warning on older Qt's, too.
Comment 4 WebKit Commit Bot 2010-07-07 04:39:30 PDT
Comment on attachment 60599 [details]
Proposed fix

Clearing flags on attachment: 60599

Committed r62652: <http://trac.webkit.org/changeset/62652>
Comment 5 WebKit Commit Bot 2010-07-07 04:39:35 PDT
All reviewed patches have been landed.  Closing bug.