mem_malloc type triviality checks (4/8)

```
git grep -l mem_malloc | xargs perl -i -lpe 's{\((\w+) \*\)mem_malloc\((\S+) \* sizeof\(\1\)\)}{mem_rmalloc<$1 *>($2)}'
```
This commit is contained in:
Jan Engelhardt
2024-08-30 20:52:36 +02:00
parent bb38a4a565
commit 4d2fdb2316
22 changed files with 65 additions and 65 deletions

View File

@@ -145,7 +145,7 @@ void CScriptMassCompile::OnBuild() {
if (list_size == 0)
return;
index_map = (int *)mem_malloc(list_size * sizeof(int));
index_map = mem_rmalloc<int>(list_size);
if (!index_map)
return;