mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 10:46:00 +00:00
mmdevapi: Don't clear possibly uninitialized PropVariant.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ccc9f1d2ce
commit
f5fc65ab86
|
@ -150,7 +150,7 @@ static HRESULT MMDevice_GetPropValue(const GUID *devguid, DWORD flow, REFPROPERT
|
|||
{
|
||||
WARN("Reading %s returned %ld\n", debugstr_w(buffer), ret);
|
||||
RegCloseKey(regkey);
|
||||
PropVariantClear(pv);
|
||||
pv->vt = VT_EMPTY;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue