Fix #10010: Memory leak in IConsolePrint in non-dedicated case
This commit is contained in:

committed by
Loïc Guilloux

parent
0bac74ec2b
commit
0a7ffae0d9
@@ -123,6 +123,7 @@ void IConsolePrint(TextColour colour_code, const std::string &string)
|
|||||||
|
|
||||||
IConsoleWriteToLogFile(str);
|
IConsoleWriteToLogFile(str);
|
||||||
IConsoleGUIPrint(colour_code, str);
|
IConsoleGUIPrint(colour_code, str);
|
||||||
|
free(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user