Replace remaining instances of regular malloc/calloc/realloc/strdup with our memory error handler versions

git-svn-id: https://svn.eduke32.com/eduke32@7079 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-25 23:28:56 +00:00
parent 9613bbac33
commit 1f8b23152e
21 changed files with 77 additions and 74 deletions

View file

@ -2622,8 +2622,8 @@ static int32_t defsparser(scriptfile *script)
for (; previous_usermaphacks < num_usermaphacks; previous_usermaphacks++)
{
usermaphacks[previous_usermaphacks].mhkfile = mhkfile ? Bstrdup(mhkfile) : NULL;
usermaphacks[previous_usermaphacks].title = title ? Bstrdup(title) : NULL;
usermaphacks[previous_usermaphacks].mhkfile = mhkfile ? Xstrdup(mhkfile) : NULL;
usermaphacks[previous_usermaphacks].title = title ? Xstrdup(title) : NULL;
}
}
break;