1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

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

View File

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