mem_malloc type triviality checks (2/8)

Automated replacement with

```
git grep -l mem_malloc |
xargs perl -i -lpe 's{\((\w+) \*\)mem_malloc\(sizeof\(\1\) \* (\S+)\)}{mem_rmalloc<$1>($2)}'
```
This commit is contained in:
Jan Engelhardt
2024-08-30 13:40:54 +02:00
parent 6fbc86efec
commit c7da9daee2
35 changed files with 86 additions and 86 deletions

View File

@@ -308,7 +308,7 @@ void CScriptSyncDialog::BuildList(void) {
if (m_NumFiles == 0)
return;
m_Files = (tFileInfo *)mem_malloc(sizeof(tFileInfo) * m_NumFiles);
m_Files = mem_rmalloc<tFileInfo>(m_NumFiles);
m_NumFiles = 0;
if (ManageFindFirst(buffer, "*.cpp")) {