summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libtdeldap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 0549759..661e3e6 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -5529,7 +5529,8 @@ LDAPCredentials::LDAPCredentials() {
}
LDAPCredentials::~LDAPCredentials() {
- //
+ // Overwrite password data before destroying object
+ password.fill(0);
}
LDAPUserInfo::LDAPUserInfo() {