Changeset - r21380:5bfc4db4f3f0
[Not reviewed]
master
0 1 0
rubidium - 10 years ago 2014-04-21 18:31:06
rubidium@openttd.org
(svn r26479) -Codechange: use MallocT instead of malloc
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/stringfilter.cpp
Show inline comments
 
@@ -32,7 +32,7 @@ void StringFilter::SetFilterTerm(const c
 

	
 
	assert(str != NULL);
 

	
 
	char *dest = (char *)malloc(strlen(str) + 1);
 
	char *dest = MallocT<char *>(strlen(str) + 1);
 
	this->filter_buffer = dest;
 

	
 
	WChar state = STATE_WHITESPACE;
0 comments (0 inline, 0 general)