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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 30 10:08:20 PDT 2009


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


robert at roberthogan.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30804|0                           |1
        is obsolete|                            |




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

at icefox's suggestion added processEvents() to the testcase so that the X11
handles would get flushed:

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

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

    for (int i=0; i < 100; i++)
     {
        QWebView *view = new QWebView;
        view->show();
        application.processEvents();
        delete view;
    }

    exit(0);
}


-- 
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