[1/3] wbemprox: Avoid a crash in destroy_view.
Hans Leidekker
hans at codeweavers.com
Mon Feb 25 04:03:33 CST 2013
---
dlls/wbemprox/query.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wbemprox/query.c b/dlls/wbemprox/query.c
index 2d416ef..028b334 100644
--- a/dlls/wbemprox/query.c
+++ b/dlls/wbemprox/query.c
@@ -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 );
--
1.7.10.4
More information about the wine-patches
mailing list