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
parent f4f221b1e0
commit 3a313324dc

View File

@@ -124,6 +124,7 @@ void IConsolePrint(TextColour colour_code, const char *string)
IConsoleWriteToLogFile(str);
IConsoleGUIPrint(colour_code, str);
free(str);
}
/**