From 1a72332d29367a6e5c3b93e08270cabb23982a7a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 17 Mar 2013 12:29:29 +0000 Subject: crash fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@4074 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/Template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/IEView/src') 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); -- cgit v1.2.3