From 78ebd8f7cf5fc3bbf00cf0770ef85b81fb4d9bca Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 11 Oct 2011 00:03:35 +0200 Subject: [PATCH] msi: Remove a redundant NULL check before free (Smatch). --- dlls/msi/where.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/msi/where.c b/dlls/msi/where.c index 2d9241fa18e..8272301edd7 100644 --- a/dlls/msi/where.c +++ b/dlls/msi/where.c @@ -919,11 +919,8 @@ static UINT WHERE_delete( struct tagMSIVIEW *view ) free_reorder(wv); - if (wv->order_info) - { - msi_free(wv->order_info); - wv->order_info = NULL; - } + msi_free(wv->order_info); + wv->order_info = NULL; msiobj_release( &wv->db->hdr ); msi_free( wv ); -- 2.11.4.GIT