Commit 58572fc9 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Avoid a crash when a class is not implemented.

parent 82c753a2
...@@ -1123,6 +1123,8 @@ void set_variant( VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret ) ...@@ -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 ) 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) switch (view->type)
{ {
case VIEW_TYPE_SELECT: case VIEW_TYPE_SELECT:
......
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