wbemprox: Avoid a crash in destroy_view.

This commit is contained in:
Hans Leidekker 2013-02-25 11:03:33 +01:00 committed by Alexandre Julliard
parent ebc37f45e6
commit a247c7cf23

View file

@ -47,6 +47,7 @@ HRESULT create_view( const struct property *proplist, const WCHAR *class,
void destroy_view( struct view *view )
{
if (!view) return;
if (view->table) release_table( view->table );
heap_free( view->result );
heap_free( view );