summaryrefslogtreecommitdiff
authorzecke <zecke>2002-06-28 16:30:08 (UTC)
committer zecke <zecke>2002-06-28 16:30:08 (UTC)
commite72d93a703f4b38109f8f02ec96a759d93b8f91c (patch) (side-by-side diff)
tree39d6725fa1061965c64c42dabb663a3cfdc1c976
parentce221c2cf5b003f1033e6f0b603670ceb0bff7c7 (diff)
downloadopie-e72d93a703f4b38109f8f02ec96a759d93b8f91c.zip
opie-e72d93a703f4b38109f8f02ec96a759d93b8f91c.tar.gz
opie-e72d93a703f4b38109f8f02ec96a759d93b8f91c.tar.bz2
Don't leak
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index b4b59c3..0385cb1 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -157,24 +157,25 @@ namespace OpieTooth {
if ( enablePagescan == 1) {
hciconf->setPscan( true );
} else {
hciconf->setPscan( false );
}
if ( enableInquiryscan == 1) {
hciconf->setIscan( true );
} else {
hciconf->setIscan( false );
}
+ delete hciconf;
}
/**
* Read the list of allready known devices
*
*/
void BlueBase::readSavedDevices() {
QList<RemoteDevice> *loadedDevices = new QList<RemoteDevice>;
QDir deviceListSave( QDir::homeDirPath() + "/Settings/bluetooth/");