summaryrefslogtreecommitdiff
path: root/plugins/IEView/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-27 08:11:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-27 08:11:08 +0000
commit57d5d98289ae55db2e282262301ab22a093e26e2 (patch)
tree4bcfefcea38c4363410ef255307f5c0e8d324ce7 /plugins/IEView/src
parent04d05218bf3278dcd33a8491729c0138b20cc9f8 (diff)
- Ieview fix (patch from Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4215 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src')
-rw-r--r--plugins/IEView/src/TemplateHTMLBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp
index 522a104221..09d2de312f 100644
--- a/plugins/IEView/src/TemplateHTMLBuilder.cpp
+++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp
@@ -37,7 +37,7 @@ TemplateHTMLBuilder::TemplateHTMLBuilder() {
TemplateHTMLBuilder::~TemplateHTMLBuilder() {
for (int i = 0; i < 2; i++) {
if (flashAvatars[i] != NULL) {
- delete flashAvatars[i];
+ mir_free(flashAvatars[i]);
}
}
}
@@ -90,7 +90,7 @@ char *TemplateHTMLBuilder::getAvatar(HANDLE hContact, const char * szProto) {
const char *TemplateHTMLBuilder::getFlashAvatar(const TCHAR *file, int index) {
if (time(NULL) - flashAvatarsTime[index] > 600 || flashAvatars[index] == NULL) {
if (flashAvatars[index] != NULL) {
- delete flashAvatars[index];
+ mir_free(flashAvatars[index]);
flashAvatars[index] = NULL;
}
flashAvatarsTime[index] = time(NULL);