summaryrefslogtreecommitdiff
path: root/plugins/IEView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView')
-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);