[Webkit-unassigned] [Bug 24458] QWebView memory leak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 30 13:51:58 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24458





------- Comment #7 from robert at roberthogan.net  2009-05-30 13:51 PDT -------
Created an attachment (id=30807)
 --> (https://bugs.webkit.org/attachment.cgi?id=30807&action=view)
valgrind output

adding a qt quit() to the test case reduces the leaks to just a couple of X11
items. In practice memory use increases hardly at all, especially compared to
the original test case.

#include <QtGui/QtGui>
#include <QtWebKit/QtWebKit>

int main(int argc, char **argv)
{
    QApplication application(argc, argv);

    for (int i=0; i < 1000; i++)
//     while (true)
     {
        QWebView *view = new QWebView;
        application.processEvents();
        view->show();
        delete view;
    }
    application.quit();
}


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list