summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-13 19:03:25 (UTC)
committer harlekin <harlekin>2002-06-13 19:03:25 (UTC)
commit9939c618389465ef5837bf510186d583891e65e3 (patch) (side-by-side diff)
tree5857e9fd68618b033414204ebdffd2e8b3ef5961
parent9976f7357601e33c4a1984bf79a68ac344fdd188 (diff)
downloadopie-9939c618389465ef5837bf510186d583891e65e3.zip
opie-9939c618389465ef5837bf510186d583891e65e3.tar.gz
opie-9939c618389465ef5837bf510186d583891e65e3.tar.bz2
fix leak
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index 39a9c6e..a380ac7 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -149,18 +149,20 @@ namespace OpieTooth {
break;
case 4:
setBluezDiscoveryStatus(1);
timerEvent(NULL);
break;
//case 7:
// With table of currently-detected devices.
}
+ delete menu;
}
+
/**
* Launches the bluetooth manager
*/
void BluezApplet::launchManager() {
QCopEnvelope e("QPE/System", "execute(QString)");
e << QString("bluetooth-manager");
}