diff options
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;
|