diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 20:27:43 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 20:27:43 +0000 |
commit | 6dfdccb3decd016ced438309d326547e5244604e (patch) | |
tree | aa699dd48dcf31ef7e534ab0e3834034457f58b0 /plugins/Bonsai/FixOptions/utils.cpp | |
parent | 9ed5a0436109770d38318ae9a3c117f46aeefa5e (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@55 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Bonsai/FixOptions/utils.cpp')
-rw-r--r-- | plugins/Bonsai/FixOptions/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Bonsai/FixOptions/utils.cpp b/plugins/Bonsai/FixOptions/utils.cpp index f47f78592c..3f30dc44ad 100644 --- a/plugins/Bonsai/FixOptions/utils.cpp +++ b/plugins/Bonsai/FixOptions/utils.cpp @@ -145,7 +145,7 @@ int GetStringFromDatabase(HANDLE hContact, char *szModule, char *szSettingName, len = (tmp < size - 1) ? tmp : size - 1;
strncpy(szResult, dbv.pszVal, len);
szResult[len] = '\0';
- MirandaFree(dbv.pszVal);
+ mir_free(dbv.pszVal);
}
else{
res = 1;
@@ -182,7 +182,7 @@ int GetStringFromDatabase(HANDLE hContact, char *szModule, char *szSettingName, wcsncpy(szResult, dbv.pwszVal, len);
szResult[len] = L'\0';
}
- MirandaFree(dbv.pwszVal);
+ mir_free(dbv.pwszVal);
}
else{
res = 1;
@@ -240,7 +240,7 @@ TCHAR *GetContactName(HANDLE hContact, char *szProto) {
buffer = _tcsdup(ctInfo.pszVal);
}
- MirandaFree(ctInfo.pszVal);
+ mir_free(ctInfo.pszVal);
if (!ret)
{
return buffer;
@@ -323,7 +323,7 @@ TCHAR *GetContactID(HANDLE hContact, char *szProto) }
- MirandaFree(ctInfo.pszVal);
+ mir_free(ctInfo.pszVal);
if (!ret)
{
return buffer;
|