summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-31 15:49:20 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-31 15:49:20 +0000
commit8f299c76f68db1504d6156841d19fea4dfe8ff4b (patch)
treeb586f2e7c5763db3d95cb3e53a91baaa96236038 /plugins
parent37ab301d0182a418bbbe7e3b86d8f524fef0372e (diff)
more correct fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SmileyAdd/src/smileys.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}