diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-04-10 03:51:13 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-04-10 03:51:13 +0300 |
commit | 1ae39fd58a92c1d19b2991ecf53d617794949b2b (patch) | |
tree | e4a04215ee0d24bf82f8318af46808d8282deabe /stopspam.cpp | |
parent | 6ea93234f4190fec5234f79855455949626d0805 (diff) |
memory cleaning
Diffstat (limited to 'stopspam.cpp')
-rw-r--r-- | stopspam.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stopspam.cpp b/stopspam.cpp index f029665..c4a3df7 100644 --- a/stopspam.cpp +++ b/stopspam.cpp @@ -55,7 +55,10 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_ADDED, wParam, lParam) DBWriteContactSettingTString(hcntct, "CList", "Group", gbSpammersGroup.c_str()); if(gbIgnoreURL) if(Stristr(EventText, _T("http")) || Stristr(EventText, _T("www")) || Stristr(EventText, _T(".ru")) || Stristr(EventText, _T(".com")) || Stristr(EventText, _T(".de")) || Stristr(EventText, _T(".cz")) || Stristr(EventText, _T(".org")) || Stristr(EventText, _T(".net")) || Stristr(EventText, _T(".su"))) + { + mir_free(EventText); return 1; + } BYTE msg = 1; if(gbInvisDisable) { |