summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.cpp
diff options
context:
space:
mode:
authorFishbone <fishbone@miranda-ng.org>2013-06-07 12:07:45 +0000
committerFishbone <fishbone@miranda-ng.org>2013-06-07 12:07:45 +0000
commitfa38cd5864b1b8090be141e3c4291df6d3322e30 (patch)
tree3e05d815d33961f6382beb26b6656c786a7f7462 /protocols/WhatsApp/src/proto.cpp
parent9f53b4ab59d8183b9064ac65ab46a87932b5cf34 (diff)
WhatsApp: Fixed requesting code for registration (works now)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r--protocols/WhatsApp/src/proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index 29be123437..8c9669d58c 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -180,6 +180,7 @@ void WhatsAppProto::RequestCode()
if ( !db_get_s(NULL,m_szModuleName,WHATSAPP_KEY_IDX,&dbv,DBVT_ASCIIZ))
{
idx = dbv.pszVal;
+ db_free(&dbv);
}
if (idx.empty())
{