msvcrt: Don't forget to free the buffer in scanf.

Signed-off-by: Michał Janiszewski <janisozaur@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michał Janiszewski 2018-07-01 23:51:23 +02:00 committed by Alexandre Julliard
parent 4ad6e1b084
commit 32e65acc00
1 changed files with 1 additions and 0 deletions

View File

@ -667,6 +667,7 @@ _FUNCTION_ {
else {
_UNLOCK_FILE_(file);
*str = 0;
HeapFree(GetProcessHeap(), 0, Mask);
return rd;
}
}