diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_options.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_options.cpp b/protocols/VKontakte/src/vk_options.cpp index abbb3e8387..f4334d0b1c 100644 --- a/protocols/VKontakte/src/vk_options.cpp +++ b/protocols/VKontakte/src/vk_options.cpp @@ -60,7 +60,7 @@ void CVkAccMgrForm::OnApply() if (bPassChanged) {
T2Utf szRawPasswd(ptszNewPass);
m_proto->setString("Password", szRawPasswd);
- pass_ptrA pszPass(szRawPasswd);
+ pass_ptrA pszPass(szRawPasswd.detach());
m_ptszOldPass = ptszNewPass;
}
@@ -218,7 +218,7 @@ void CVkOptionAccountForm::OnApply() if (bPassChanged) {
T2Utf szRawPasswd(ptszNewPass);
m_proto->setString("Password", szRawPasswd);
- pass_ptrA pszPass(szRawPasswd);
+ pass_ptrA pszPass(szRawPasswd.detach());
m_ptszOldPass = ptszNewPass;
}
|