(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter

This commit is contained in:
KUDr
2007-01-11 17:29:39 +00:00
parent 5675956443
commit 28e969924b
49 changed files with 141 additions and 181 deletions

View File

@@ -1166,7 +1166,7 @@ bool ReadLanguagePack(int lang_index)
}
// Allocate offsets
MallocT(&langpack_offs, tot_count);
langpack_offs = MallocT<char*>(tot_count);
// Fill offsets
s = lang_pack->data;