From 27f8dc149efa49bdea809df130b0c14d15359964 Mon Sep 17 00:00:00 2001 From: kh1 Date: Wed, 17 Feb 2010 15:16:23 +0100 Subject: Fix memmory leak. --- tools/assistant/tools/assistant/bookmarkmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/assistant/tools/assistant/bookmarkmanager.cpp b/tools/assistant/tools/assistant/bookmarkmanager.cpp index b73fbb5..00f6346 100644 --- a/tools/assistant/tools/assistant/bookmarkmanager.cpp +++ b/tools/assistant/tools/assistant/bookmarkmanager.cpp @@ -199,6 +199,7 @@ BookmarkManager::~BookmarkManager() { TRACE_OBJ HelpEngineWrapper::instance().setBookmarks(bookmarkModel->bookmarks()); + delete bookmarkModel; } void BookmarkManager::removeItem(const QModelIndex &index) -- cgit v0.12