Diffstat (limited to 'noncore/apps/opie-console/io_irda.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_irda.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/io_irda.cpp b/noncore/apps/opie-console/io_irda.cpp index 56a373c..b3b693f 100644 --- a/noncore/apps/opie-console/io_irda.cpp +++ b/noncore/apps/opie-console/io_irda.cpp @@ -23,2 +23,3 @@ void IOIrda::close() { bool IOIrda::open() { + bool ret; @@ -32,3 +33,3 @@ bool IOIrda::open() { if ( m_attach->start() ) { - IOSerial::open(); + ret= IOSerial::open(); } else { @@ -39,2 +40,3 @@ bool IOIrda::open() { } + return ret; } @@ -61,2 +63,3 @@ void IOIrda::slotExited(OProcess* proc ){ close(); + delete proc; } |