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
@@ -29,18 +29,17 @@ BtObex::BtObex( QObject *parent, const char* name )
connect( this, SIGNAL(error(int) ), // for recovering to receive
SLOT(slotError() ) );
connect( this, SIGNAL(sent(bool) ),
SLOT(slotError() ) );
btManager = NULL;
};
BtObex::~BtObex() {
- if (btManager)
- delete btManager;
+ delete btManager;
delete m_rec;
delete m_send;
}
void BtObex::receive() {
m_receive = true;
m_outp = QString::null;
m_rec = new OProcess();