diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-30 18:03:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-30 18:03:31 +0000 |
commit | 7d1ec34709876918614f21f70cbe35f2667175c4 (patch) | |
tree | e981348befe3fb253091c4f39b4641dc1750243d /plugins | |
parent | d77850e44b6d38380c08896ba5f2e043c7c69fb2 (diff) |
another mir_alloc
git-svn-id: http://svn.miranda-ng.org/main/trunk@702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/helpers/db_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/helpers/db_helpers.h b/plugins/helpers/db_helpers.h index c208442db7..a2d4a4c2ac 100644 --- a/plugins/helpers/db_helpers.h +++ b/plugins/helpers/db_helpers.h @@ -134,13 +134,13 @@ __inline static TCHAR *Hlp_DBGetContactSettingTString(HANDLE hContact,const char }
#endif
if (rc == 0) {
- res = _tcsdup(dbv.ptszVal);
+ res = mir_tstrdup(dbv.ptszVal);
DBFreeVariant(&dbv);
return res;
}
else {
DBFreeVariant(&dbv);
- return errVal!=NULL?_tcsdup(errVal):NULL;
+ return errVal!=NULL?mir_tstrdup(errVal):NULL;
}
}
|