Whoops. Memory leak.
This commit is contained in:
parent
441013770d
commit
dbaa47a851
|
@ -440,6 +440,8 @@ SHIM_CALL _vswprintf_shim(
|
||||||
}
|
}
|
||||||
*b = '\0';
|
*b = '\0';
|
||||||
|
|
||||||
|
xe_free(swapped_format);
|
||||||
|
|
||||||
// swap the result buffer
|
// swap the result buffer
|
||||||
for (wchar_t* swap = buffer; swap != b; ++swap)
|
for (wchar_t* swap = buffer; swap != b; ++swap)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue