mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
GRAPHICS: OPENGL: Free log after using it
This commit is contained in:
parent
e095d15a37
commit
b1ebc64c03
@ -141,6 +141,8 @@ GLuint Shader::createDirectShader(size_t shaderSourcesCount, const char *const *
|
||||
|
||||
_error = Common::String::format("Could not compile shader %s: %s", name.c_str(), log);
|
||||
warning("Shader::createDirectShader(): %s", _error.c_str());
|
||||
|
||||
delete[] log;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user