summaryrefslogtreecommitdiff
path: root/plugins/IEView/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-17 12:29:29 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-17 12:29:29 +0000
commit1a72332d29367a6e5c3b93e08270cabb23982a7a (patch)
tree3188c511d7128e5277f56d81bb02bb6323f21cfb /plugins/IEView/src
parent33958b748d957626c37da2322292ec1cd893d8e4 (diff)
crash fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@4074 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src')
-rw-r--r--plugins/IEView/src/Template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/Template.cpp b/plugins/IEView/src/Template.cpp
index 1b234265dc..5400906ae7 100644
--- a/plugins/IEView/src/Template.cpp
+++ b/plugins/IEView/src/Template.cpp
@@ -437,7 +437,7 @@ const char *TemplateMap::getFilename() {
void TemplateMap::setFilename(const char *filename) {
if (this->filename != NULL) {
- delete this->filename;
+ mir_free(this->filename);
}
this->filename = mir_strdup(filename);
Utils::convertPath(this->filename);