From 25b3937022e3a533a750f59bd86978f193bab5c2 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sat, 6 Dec 2008 18:58:32 +0000 Subject: [PATCH] wow, that was massively broken! svn path=/trunk/KDE/kdelibs/; revision=893519 --- animator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }