Fix #10010: Memory leak in IConsolePrint in non-dedicated case

This commit is contained in:
Jonathan G Rennison 2022-09-09 17:40:13 +01:00 committed by Loïc Guilloux
parent 0bac74ec2b
commit 0a7ffae0d9
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ void IConsolePrint(TextColour colour_code, const std::string &string)
IConsoleWriteToLogFile(str);
IConsoleGUIPrint(colour_code, str);
free(str);
}
/**