Commit 1aff7345 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

quartz: Prevent heap corruption if IPropertyBag_Read fails.

parent cff08308
...@@ -1040,7 +1040,6 @@ static HRESULT WINAPI FilterMapper2_EnumMatchingFilters( ...@@ -1040,7 +1040,6 @@ static HRESULT WINAPI FilterMapper2_EnumMatchingFilters(
if (SUCCEEDED(hrSub)) if (SUCCEEDED(hrSub))
{ {
V_VT(&var) = VT_ARRAY | VT_UI1;
hrSub = IPropertyBag_Read(pPropBag, wszFilterDataName, &var, NULL); hrSub = IPropertyBag_Read(pPropBag, wszFilterDataName, &var, NULL);
} }
......
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