msi: Fix an access after freeing memory.

This commit is contained in:
Mike McCormack 2006-11-21 13:47:42 +09:00 committed by Alexandre Julliard
parent 179b294138
commit fbfc221a77
1 changed files with 1 additions and 1 deletions

View File

@ -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 */