wbemprox: Avoid a crash when a class is not implemented.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
82c753a273
commit
58572fc916
|
@ -1123,6 +1123,8 @@ void set_variant( VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret )
|
|||
|
||||
static HRESULT map_view_index( const struct view *view, UINT index, UINT *table_index, UINT *result_index )
|
||||
{
|
||||
if (!view->table) return WBEM_E_NOT_FOUND;
|
||||
|
||||
switch (view->type)
|
||||
{
|
||||
case VIEW_TYPE_SELECT:
|
||||
|
|
Loading…
Reference in New Issue