summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp-lpe-item.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 1333642e9..84d318db2 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -555,6 +555,9 @@ void SPLPEItem::removeAllPathEffects(bool keep_paths)
return;
}
}
+
+ PathEffectList::iterator it = this->path_effect_list->begin();
+
while ( it != this->path_effect_list->end() ) {
LivePathEffectObject *lpeobj = (*it)->lpeobject;
if (lpeobj) {