wbemprox: Avoid a crash in destroy_view.

oldstable
Hans Leidekker 2013-02-25 11:03:33 +01:00 committed by Alexandre Julliard
parent ebc37f45e6
commit a247c7cf23
1 changed files with 1 additions and 0 deletions

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 );