From d1f38a16b2aa2ebe7af1dea9fab6db9497696c47 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 13 Sep 2013 21:20:23 +0200 Subject: [PATCH] Fixed possible double-free crash --- kded/backends/loopback/loopbacklinkprovider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kded/backends/loopback/loopbacklinkprovider.cpp b/kded/backends/loopback/loopbacklinkprovider.cpp index acbb6001c..82d367b78 100644 --- a/kded/backends/loopback/loopbacklinkprovider.cpp +++ b/kded/backends/loopback/loopbacklinkprovider.cpp @@ -57,6 +57,7 @@ void LoopbackLinkProvider::onStop() { if (loopbackDeviceLink) { delete loopbackDeviceLink; + loopbackDeviceLink = 0; } }