Fix #10010: Memory leak in IConsolePrint in non-dedicated case
This commit is contained in:
@@ -124,6 +124,7 @@ void IConsolePrint(TextColour colour_code, const char *string)
|
||||
|
||||
IConsoleWriteToLogFile(str);
|
||||
IConsoleGUIPrint(colour_code, str);
|
||||
free(str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user