summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-05-18 09:23:43 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-05-22 10:25:20 (GMT)
commit106a3b296e37178ed6ee227120771116732ef6eb (patch)
treedec4ace2eaebdb462d138f3ac658391cc36b58d3 /Swiften/SASL
parent206a1e4dc8a7362196b5e34193556a65895e4517 (diff)
downloadswift-contrib-106a3b296e37178ed6ee227120771116732ef6eb.zip
swift-contrib-106a3b296e37178ed6ee227120771116732ef6eb.tar.bz2
Eagle mode.
Disables password persistence.
Diffstat (limited to 'Swiften/SASL')
-rw-r--r--Swiften/SASL/ClientAuthenticator.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swiften/SASL/ClientAuthenticator.cpp b/Swiften/SASL/ClientAuthenticator.cpp
index b882d04..12636e2 100644
--- a/Swiften/SASL/ClientAuthenticator.cpp
+++ b/Swiften/SASL/ClientAuthenticator.cpp
@@ -1,17 +1,20 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2011 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#include <Swiften/SASL/ClientAuthenticator.h>
+#include <Swiften/Base/Algorithm.h>
+
namespace Swift {
ClientAuthenticator::ClientAuthenticator(const std::string& name) : name(name) {
}
ClientAuthenticator::~ClientAuthenticator() {
+ safeClear(password);
}
}