Module: wine Branch: master Commit: fbfc221a7734238e49d66a2ec4eefd0ac3ab03f0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fbfc221a7734238e49d66a2ec4...
Author: Mike McCormack mike@codeweavers.com Date: Tue Nov 21 13:47:42 2006 +0900
msi: Fix an access after freeing memory.
---
dlls/msi/dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 9fe5b8e..44c56f6 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -3389,9 +3389,9 @@ void msi_dialog_destroy( msi_dialog *dia 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 */