[haiku-webkit-commits] r258 - webkit/trunk/WebKit/haiku/API

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Mon, 01 Mar 2010 17:46:43 +0000

Author: stippi
Date: Mon Mar  1 17:46:43 2010
New Revision: 258
URL: http://mmlr.dyndns.org/changeset/258

Log:
Don't leak the BWebSettings instance.

Modified:
   webkit/trunk/WebKit/haiku/API/WebPage.cpp

Modified: webkit/trunk/WebKit/haiku/API/WebPage.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/API/WebPage.cpp   Mon Mar  1 17:41:43 2010        
(r257)
+++ webkit/trunk/WebKit/haiku/API/WebPage.cpp   Mon Mar  1 17:46:43 2010        
(r258)
@@ -181,6 +181,7 @@
 
 BWebPage::~BWebPage()
 {
+    delete m_settings;
     delete m_mainFrame;
     delete m_page;
 }

Other related posts:

  • » [haiku-webkit-commits] r258 - webkit/trunk/WebKit/haiku/API - webkit