diff options
author | kh1 <qt-info@nokia.com> | 2010-02-17 14:16:23 (GMT) |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-02-17 14:49:45 (GMT) |
commit | 27f8dc149efa49bdea809df130b0c14d15359964 (patch) | |
tree | 021f1b82f2715a4c9abb62d4956c658243e12a15 | |
parent | c2fee16b4d60962979943fd31ce7cffce54d8096 (diff) | |
download | Qt-27f8dc149efa49bdea809df130b0c14d15359964.zip Qt-27f8dc149efa49bdea809df130b0c14d15359964.tar.gz Qt-27f8dc149efa49bdea809df130b0c14d15359964.tar.bz2 |
Fix memmory leak.
-rw-r--r-- | tools/assistant/tools/assistant/bookmarkmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |