diff --git a/animator.cpp b/animator.cpp index 45423bc54..12de0263f 100644 --- a/animator.cpp +++ b/animator.cpp @@ -110,7 +110,8 @@ class AnimatorPrivate QMutableMapIterator it(customAnims); while (it.hasNext()) { - delete it.value()->slot; + it.next(); + delete[] it.value()->slot; delete it.value(); it.remove(); }