-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 | |||
@@ -61,8 +61,11 @@ namespace OpieTooth { | |||
61 | 61 | ||
62 | } | 62 | } |
63 | 63 | ||
64 | BluezApplet::~BluezApplet() { | 64 | BluezApplet::~BluezApplet() { |
65 | if ( btDevice ) { | ||
66 | delete btDevice; | ||
67 | } | ||
65 | } | 68 | } |
66 | 69 | ||
67 | bool BluezApplet::checkBluezStatus() { | 70 | bool BluezApplet::checkBluezStatus() { |
68 | if (btDevice) { | 71 | if (btDevice) { |