summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c782e75)
raw | patch | inline | side by side (parent: c782e75)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 1 Nov 2007 23:19:15 +0000 (23:19 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 1 Nov 2007 23:19:15 +0000 (23:19 +0000) |
src/desktop.cpp | patch | blob | history |
diff --git a/src/desktop.cpp b/src/desktop.cpp
index a97e1f3fc4b731a4b7e5703ca8342a5c4dfdaa68..4fc0e5f60725ca3497cf3ffebd524c815d5647f5 100644 (file)
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
if (_layer_hierarchy) {
delete _layer_hierarchy;
+// _layer_hierarchy = NULL; //this should be here, but commented to find other bug somewhere else.
+ }
+
+ if (layer_manager) {
+ delete layer_manager;
+ layer_manager = NULL;
}
if (_inkscape) {