msi: Fix an access after freeing memory.
This commit is contained in:
parent
179b294138
commit
fbfc221a77
|
@ -3389,9 +3389,9 @@ void msi_dialog_destroy( msi_dialog *dialog )
|
||||||
DestroyIcon( t->hIcon );
|
DestroyIcon( t->hIcon );
|
||||||
msi_free( t->tabnext );
|
msi_free( t->tabnext );
|
||||||
msi_free( t->type );
|
msi_free( t->type );
|
||||||
msi_free( t );
|
|
||||||
if (t->hDll)
|
if (t->hDll)
|
||||||
FreeLibrary( t->hDll );
|
FreeLibrary( t->hDll );
|
||||||
|
msi_free( t );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* destroy the list of fonts */
|
/* destroy the list of fonts */
|
||||||
|
|
Loading…
Reference in New Issue