From 83fa989e4ec503c4a8e82c097d4d464ff5495184 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 20 Nov 2012 14:33:10 +0000 Subject: - PS_GETCUSTOMSTATUSEX service for Jabber; - further code cleaning. git-svn-id: http://svn.miranda-ng.org/main/trunk@2393 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/ui_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/ui_utils.cpp') diff --git a/protocols/JabberG/src/ui_utils.cpp b/protocols/JabberG/src/ui_utils.cpp index da8a4531f1..ac7bde98e0 100644 --- a/protocols/JabberG/src/ui_utils.cpp +++ b/protocols/JabberG/src/ui_utils.cpp @@ -2395,7 +2395,7 @@ CDbLink::~CDbLink() mir_free(m_szSetting); mir_free(m_szDefault); if (dbv.type != DBVT_DELETED) - DBFreeVariant(&dbv); + db_free(&dbv); } DWORD CDbLink::LoadUnsigned() @@ -2429,7 +2429,7 @@ void CDbLink::SaveInt(DWORD value) TCHAR* CDbLink::LoadText() { - if (dbv.type != DBVT_DELETED) DBFreeVariant(&dbv); + if (dbv.type != DBVT_DELETED) db_free(&dbv); if ( !DBGetContactSettingTString(NULL, m_szModule, m_szSetting, &dbv)) { if (dbv.type == DBVT_TCHAR) -- cgit v1.2.3