Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- dlls/wbemprox/class.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c index 2f2d3ef2bfb..2f7752e8671 100644 --- a/dlls/wbemprox/class.c +++ b/dlls/wbemprox/class.c @@ -354,6 +354,7 @@ static HRESULT record_get_value( const struct record *record, UINT index, VARIAN VARTYPE vartype = to_vartype( record->fields[index].type & CIM_TYPE_MASK );
if (type) *type = record->fields[index].type; + if (!var) return S_OK;
if (record->fields[index].type & CIM_FLAG_ARRAY) {