From 3e1583072445a97fbd9dd223d8c8b702013ae1d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 11 Apr 2015 23:02:48 +0000 Subject: minor fixes, code cleaning etc git-svn-id: http://svn.miranda-ng.org/main/trunk@12773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_std.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_std.cpp') diff --git a/protocols/JabberG/src/jabber_std.cpp b/protocols/JabberG/src/jabber_std.cpp index 284730a048..ecda372e98 100644 --- a/protocols/JabberG/src/jabber_std.cpp +++ b/protocols/JabberG/src/jabber_std.cpp @@ -78,7 +78,8 @@ void CJabberProto::ConvertPasswords() break; mir_snprintf(varName, SIZEOF(varName), "rcMuc_%d", i); - if ((passw = JSetStringCrypt(m_szModuleName, NULL, varName)) != NULL) { + ptrT passw(JSetStringCrypt(m_szModuleName, NULL, varName)); + if (passw != NULL) { delSetting(varName); mir_snprintf(varName, SIZEOF(varName), "password_rcMuc_%d", i); -- cgit v1.2.3