reg: Free szValue after deleting all registry values (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cedd95e2a8
commit
2885170057
|
@ -481,6 +481,7 @@ static int reg_delete(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name
|
|||
}
|
||||
else break;
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, szValue);
|
||||
}
|
||||
else if (value_name || value_empty)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue