mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
wbemprox: Avoid a crash in destroy_view.
This commit is contained in:
parent
ebc37f45e6
commit
a247c7cf23
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue