Commit a247c7cf authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Avoid a crash in destroy_view.

parent ebc37f45
...@@ -47,6 +47,7 @@ HRESULT create_view( const struct property *proplist, const WCHAR *class, ...@@ -47,6 +47,7 @@ HRESULT create_view( const struct property *proplist, const WCHAR *class,
void destroy_view( struct view *view ) void destroy_view( struct view *view )
{ {
if (!view) return;
if (view->table) release_table( view->table ); if (view->table) release_table( view->table );
heap_free( view->result ); heap_free( view->result );
heap_free( view ); heap_free( view );
......
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