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

@ -45,7 +45,7 @@ static GLuint compileShader(GLenum shaderType, const char* const source)
OSD_Printf("Compile Status: %u\n", compileStatus);
if (logLength > 0)
{
char *infoLog = (char*) Bmalloc(logLength);
char *infoLog = (char*) Xmalloc(logLength);
glGetShaderInfoLog(shaderID, logLength, &logLength, infoLog);
OSD_Printf("Log:\n%s\n", infoLog);
Bfree(infoLog);