From 8f299c76f68db1504d6156841d19fea4dfe8ff4b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 31 Dec 2014 15:49:20 +0000 Subject: more correct fix git-svn-id: http://svn.miranda-ng.org/main/trunk@11698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/smileys.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index 71533b9d8f..dc6a0e215f 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -261,7 +261,8 @@ void SmileyPackType::AddTriggersToSmileyLookup(void) first = false; } } - delete dats; + else + delete dats; } delete m0; } -- cgit v1.2.3