diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-27 19:07:09 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-27 19:07:09 +0000 |
commit | 9c2117c10e0d9eb7eb5b704c0177ee1553d3f198 (patch) | |
tree | 480813616b1fecf62a3690ff6c7ed7c49991d87a /protocols/VKontakte/src/vk_chats.cpp | |
parent | 5cd55bf98d402791990db77399eb9be54f70ddbd (diff) |
VKontakte:
fix memory leaks
fix db_unset on OnJoinChat
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11121 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_chats.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index 0eac232a0e..af0bd613bb 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -508,7 +508,7 @@ INT_PTR __cdecl CVkProto::OnJoinChat(WPARAM hContact, LPARAM) << VER_API;
pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded");
Push(pReq);
- db_unset(hContact, "off", false);
+ db_unset(hContact, m_szModuleName, "off");
return 0;
}
|