-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |