From 42343c81c4108775ff2a8dc234c021b5f7c6f503 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 1 Dec 2014 23:53:41 +0100 Subject: [PATCH] Don't leak ScriptJob in XmppInfoPlugin --- src/accounts/xmpp/XmppInfoPlugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/accounts/xmpp/XmppInfoPlugin.cpp b/src/accounts/xmpp/XmppInfoPlugin.cpp index c1b17f870..e0b21ab54 100644 --- a/src/accounts/xmpp/XmppInfoPlugin.cpp +++ b/src/accounts/xmpp/XmppInfoPlugin.cpp @@ -129,6 +129,8 @@ void Tomahawk::InfoSystem::XmppInfoPlugin::onQueryLinkReady( const QVariantMap& data ) { emit publishTune( data[ "url" ].toUrl(), sender()->property("infoStringHash").value< Tomahawk::InfoSystem::InfoStringHash >() ); + + sender()->deleteLater(); }