Summary: | QWebSettings leaks pixmaps at program end on X11 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | marc | ||||
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | Linux | ||||||
Attachments: |
|
Created attachment 60599 [details]
Proposed fix
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...
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 on attachment 60599 [details] Proposed fix Clearing flags on attachment: 60599 Committed r62652: <http://trac.webkit.org/changeset/62652> All reviewed patches have been landed. Closing bug. |
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.