summaryrefslogtreecommitdiff
path: root/plugins/IEView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView')
-rw-r--r--plugins/IEView/HTMLBuilder.cpp8
-rw-r--r--plugins/IEView/ieview_main.cpp1
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/IEView/HTMLBuilder.cpp b/plugins/IEView/HTMLBuilder.cpp
index 9fa9e24824..e4211cac74 100644
--- a/plugins/IEView/HTMLBuilder.cpp
+++ b/plugins/IEView/HTMLBuilder.cpp
@@ -222,7 +222,7 @@ void HTMLBuilder::getUINs(HANDLE hContact, char *&uinIn, char *&uinOut) {
switch (ci.type) {
case CNFT_ASCIIZ:
mir_snprintf(buf, sizeof(buf), "%s", ci.pszVal);
- miranda_sys_free(ci.pszVal);
+ mir_free(ci.pszVal);
break;
case CNFT_DWORD:
mir_snprintf(buf, sizeof(buf), "%u", ci.dVal);
@@ -236,7 +236,7 @@ void HTMLBuilder::getUINs(HANDLE hContact, char *&uinIn, char *&uinOut) {
switch (ci.type) {
case CNFT_ASCIIZ:
mir_snprintf(buf, sizeof(buf), "%s", ci.pszVal);
- miranda_sys_free(ci.pszVal);
+ mir_free(ci.pszVal);
break;
case CNFT_DWORD:
mir_snprintf(buf, sizeof(buf), "%u", ci.dVal);
@@ -266,7 +266,7 @@ wchar_t *HTMLBuilder::getContactName(HANDLE hContact, const char* szProto) {
} else {
szName = Utils::dupString((wchar_t *)ci.pszVal);
}
- miranda_sys_free(ci.pszVal);
+ mir_free(ci.pszVal);
}
}
}
@@ -276,7 +276,7 @@ wchar_t *HTMLBuilder::getContactName(HANDLE hContact, const char* szProto) {
if (ci.type == CNFT_ASCIIZ) {
if (ci.pszVal) {
szName = Utils::convertToWCS((char *)ci.pszVal);
- miranda_sys_free(ci.pszVal);
+ mir_free(ci.pszVal);
}
}
}
diff --git a/plugins/IEView/ieview_main.cpp b/plugins/IEView/ieview_main.cpp
index cc0facd49b..3f0aa95289 100644
--- a/plugins/IEView/ieview_main.cpp
+++ b/plugins/IEView/ieview_main.cpp
@@ -86,7 +86,6 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
_strupr(ieviewModuleName);
pluginLink = link;
- mir_getMMI( &mmi );
mir_getLP(&pluginInfoEx);
Utils::hookEvent_Ex(ME_OPT_INITIALISE, IEViewOptInit);