Whoops. Memory leak.

This commit is contained in:
gibbed 2014-01-17 18:48:47 -08:00
parent 441013770d
commit dbaa47a851
1 changed files with 2 additions and 0 deletions

View File

@ -440,6 +440,8 @@ SHIM_CALL _vswprintf_shim(
}
*b = '\0';
xe_free(swapped_format);
// swap the result buffer
for (wchar_t* swap = buffer; swap != b; ++swap)
{