summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-12 21:54:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-12 21:54:40 +0000
commit2257c9ecd7d0bf1af7c7421c443a3e57a10fc181 (patch)
tree5c3e10213d54fbcdb8316857292cf26fbc22cceb /plugins/Dropbox/src
parent577b6299e0c1d90846f201f5834e6264fdaa372e (diff)
memleak fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16821 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 954e9191c4..f7b4b62731 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -62,7 +62,8 @@ MCONTACT CDropbox::GetDefaultContact()
bool CDropbox::HasAccessToken()
{
- return db_get_sa(NULL, MODULE, "TokenSecret") != NULL;
+ ptrA token(db_get_sa(NULL, MODULE, "TokenSecret"));
+ return token != NULL;
}
void CDropbox::RequestAccountInfo(void *p)