From 7d1ec34709876918614f21f70cbe35f2667175c4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Jun 2012 18:03:31 +0000 Subject: another mir_alloc git-svn-id: http://svn.miranda-ng.org/main/trunk@702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/helpers/db_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/helpers/db_helpers.h') 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; } } -- cgit v1.2.3