From a552546244601de73a4bdab071cb780309ed3c67 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 09 Mar 2003 23:16:17 +0000 Subject: stop bluetooth when exiting opie --- diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp index 3fdbde0..f1618ae 100644 --- a/noncore/net/opietooth/applet/bluezapplet.cpp +++ b/noncore/net/opietooth/applet/bluezapplet.cpp @@ -62,6 +62,9 @@ namespace OpieTooth { } BluezApplet::~BluezApplet() { + if ( btDevice ) { + delete btDevice; + } } bool BluezApplet::checkBluezStatus() { -- cgit v0.9.0.2