From fbfc221a7734238e49d66a2ec4eefd0ac3ab03f0 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 21 Nov 2006 13:47:42 +0900 Subject: [PATCH] msi: Fix an access after freeing memory. --- dlls/msi/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 9fe5b8ee50e..44c56f6bfd1 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -3389,9 +3389,9 @@ void msi_dialog_destroy( msi_dialog *dialog ) DestroyIcon( t->hIcon ); msi_free( t->tabnext ); msi_free( t->type ); - msi_free( t ); if (t->hDll) FreeLibrary( t->hDll ); + msi_free( t ); } /* destroy the list of fonts */