From b3129ce7bfc58ae7bf9a1ecc161902558e32e4cd Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 21 Apr 2014 18:31:06 +0000 Subject: (svn r26479) -Codechange: use MallocT instead of malloc --- src/stringfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stringfilter.cpp b/src/stringfilter.cpp index e021c57b5..780b4a8d6 100644 --- a/src/stringfilter.cpp +++ b/src/stringfilter.cpp @@ -32,7 +32,7 @@ void StringFilter::SetFilterTerm(const char *str) assert(str != NULL); - char *dest = (char *)malloc(strlen(str) + 1); + char *dest = MallocT(strlen(str) + 1); this->filter_buffer = dest; WChar state = STATE_WHITESPACE; -- cgit v1.2.3-54-g00ecf