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:
parent
4ad6e1b084
commit
32e65acc00
|
@ -667,6 +667,7 @@ _FUNCTION_ {
|
|||
else {
|
||||
_UNLOCK_FILE_(file);
|
||||
*str = 0;
|
||||
HeapFree(GetProcessHeap(), 0, Mask);
|
||||
return rd;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue