From 69a3b531129816a2932bdd71f51d9ee4eab2ef60 Mon Sep 17 00:00:00 2001 From: Michel Hermier Date: Tue, 11 Nov 2008 21:14:32 +0000 Subject: [PATCH] Don't leak the animator driver of the animator instance. svn path=/trunk/KDE/kdelibs/; revision=883002 --- animator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animator.cpp b/animator.cpp index dbc0a202d..45423bc54 100644 --- a/animator.cpp +++ b/animator.cpp @@ -709,7 +709,7 @@ void AnimatorPrivate::init(Animator *q) KPluginLoader plugin(*offers.first()); if (Plasma::isPluginVersionCompatible(plugin.pluginVersion())) { - driver = offers.first()->createInstance(0, QVariantList(), &error); + driver = offers.first()->createInstance(q, QVariantList(), &error); } if (!driver) {