mem_malloc type triviality checks (7/8)

```
git grep -l mem_malloc | xargs perl -i -lpe 's{\((char) \*\)mem_malloc\((\S+)\)}{mem_rmalloc<$1>($2)}'
```
This commit is contained in:
Jan Engelhardt
2024-08-30 20:54:54 +02:00
parent de0af3b10d
commit a23c6a42a3
39 changed files with 100 additions and 100 deletions

View File

@@ -1160,7 +1160,7 @@ void CObjectDialog::OnObjectSwapButton() {
int o_index = ObjCreate(Object_info[d_id].type, d_id, room, &pos, &orient, parent);
if (temp_name[0] != '\0') {
Objects[o_index].name = (char *)mem_malloc(strlen(temp_name) + 1);
Objects[o_index].name = mem_rmalloc<char>(strlen(temp_name) + 1);
strcpy(Objects[o_index].name, temp_name);
}
}