summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 8f174db..9a213e7 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -199,9 +199,10 @@ QCoreWlanEngine::~QCoreWlanEngine()
{
while (!foundConfigurations.isEmpty())
delete foundConfigurations.takeFirst();
-
+#if defined(MAC_SDK_10_6)
[listener remove];
[listener release];
+#endif
}
QString QCoreWlanEngine::getInterfaceFromId(const QString &id)