summaryrefslogtreecommitdiff
path: root/core/obex/btobex.cpp
Side-by-side diff
Diffstat (limited to 'core/obex/btobex.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/btobex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/obex/btobex.cpp b/core/obex/btobex.cpp
index b8556da..886f3dc 100644
--- a/core/obex/btobex.cpp
+++ b/core/obex/btobex.cpp
@@ -34,8 +34,7 @@ BtObex::BtObex( QObject *parent, const char* name )
};
BtObex::~BtObex() {
- if (btManager)
- delete btManager;
+ delete btManager;
delete m_rec;
delete m_send;
}