~abreu-alexandre/webbrowser-app/add-integration-tests-for-webappcontainer

« back to all changes in this revision

Viewing changes to src/app/browserapplication.cpp

  • Committer: Tarmac
  • Author(s): Olivier Tilloy
  • Date: 2014-01-21 15:16:59 UTC
  • mfrom: (436.1.2 fix-memory-leak-on-exit)
  • Revision ID: tarmac-20140121151659-uijs5uzvdf7fz8s2
Fix a memory leak when exiting the application.

Approved by Alexandre Abreu, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
BrowserApplication::~BrowserApplication()
43
43
{
 
44
    m_webbrowserWindowProxy->setWindow(NULL);
 
45
    delete m_window;
 
46
    delete m_webbrowserWindowProxy;
44
47
    delete m_component;
45
48
    delete m_engine;
46
 
    delete m_webbrowserWindowProxy;
47
49
}
48
50
 
49
51
QString BrowserApplication::appId() const