webengine/webkitutils/HistoryProvider/HistoryController.cpp
changeset 5 10e98eab6f85
parent 0 dd21522fd290
child 10 a359256acfc6
--- a/webengine/webkitutils/HistoryProvider/HistoryController.cpp	Fri May 08 08:25:06 2009 +0300
+++ b/webengine/webkitutils/HistoryProvider/HistoryController.cpp	Fri Jul 03 15:54:40 2009 +0100
@@ -56,7 +56,7 @@
 
 HistoryController::~HistoryController()
 {
-    clearHistoryList();
+	m_historyStack.ResetAndDestroy();
 }
 
 /**
@@ -229,6 +229,7 @@
             delete deadEntry;
         }
     }
+
     m_currentIndex  = (m_currentIndex != -1) ? 0: m_currentIndex ;
     m_tempCurrentIndex = m_currentIndex;
     m_historyLoadOffset = 0;