Commit be82f977 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Initialize the hkey member when creating the propery bag object.

parent 033276b6
......@@ -277,6 +277,7 @@ static HRESULT DEVENUM_IPropertyBag_Construct(HANDLE hkey, IPropertyBag **ppBag)
return E_OUTOFMEMORY;
rpb->lpVtbl = &IPropertyBag_Vtbl;
rpb->ref = 1;
rpb->hkey = hkey;
*ppBag = (IPropertyBag*)rpb;
DEVENUM_LockModule();
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment