summaryrefslogtreecommitdiffstats
path: root/src/sp-namedview.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <mc@localhost.localdomain>2015-12-09 15:25:12 +0000
committerMarc Jeanmougin <mc@localhost.localdomain>2015-12-09 15:25:12 +0000
commite0a657bb7bcd383fed77d65d217f7fa163718866 (patch)
treefa3863593c2c59e5b7ac17760142877ce72dad9f /src/sp-namedview.cpp
parentreplaced remaining GHashTable with std::map (diff)
downloadinkscape-e0a657bb7bcd383fed77d65d217f7fa163718866.tar.gz
inkscape-e0a657bb7bcd383fed77d65d217f7fa163718866.zip
fix crash noticed by Tav
(bzr r14504.1.17)
Diffstat (limited to 'src/sp-namedview.cpp')
-rw-r--r--src/sp-namedview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp-namedview.cpp b/src/sp-namedview.cpp
index c03019572..50b567d2c 100644
--- a/src/sp-namedview.cpp
+++ b/src/sp-namedview.cpp
@@ -690,7 +690,6 @@ void SPNamedView::remove_child(Inkscape::XML::Node *child) {
} else {
for(std::vector<SPGuide *>::iterator it=this->guides.begin();it!=this->guides.end();++it ) {
if ( (*it)->getRepr() == child ) {
- delete (*it);
this->guides.erase(it);
break;
}