summaryrefslogtreecommitdiffstats
path: root/src/profile-manager.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-09-10 08:34:09 +0000
committerJon A. Cruz <jon@joncruz.org>2010-09-10 08:34:09 +0000
commitd454d77da77d1ef2b5b0ccaed5698871bd5f9d3e (patch)
treef43407a1dc9376006272bcb50d07b7b9c500a0dc /src/profile-manager.cpp
parentExtensions. Consistency fix and UI improvements (Text, Path and Web submenus). (diff)
downloadinkscape-d454d77da77d1ef2b5b0ccaed5698871bd5f9d3e.tar.gz
inkscape-d454d77da77d1ef2b5b0ccaed5698871bd5f9d3e.zip
Fixed valgrind-detected issue with tooltip shortcuts and profile manager on delete.
(bzr r9753)
Diffstat (limited to 'src/profile-manager.cpp')
-rw-r--r--src/profile-manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp
index 1cd965e39..b5ac861e1 100644
--- a/src/profile-manager.cpp
+++ b/src/profile-manager.cpp
@@ -23,6 +23,8 @@ ProfileManager::ProfileManager(SPDocument *document) :
ProfileManager::~ProfileManager()
{
+ _resource_connection.disconnect();
+ _doc = 0;
}
void ProfileManager::_resourcesChanged()