msi: Set media info strings to NULL after freeing them.

This commit is contained in:
James Hawkins 2007-10-23 03:10:11 -05:00 committed by Alexandre Julliard
parent 85bd53a675
commit 5606428a71
1 changed files with 3 additions and 0 deletions

View File

@ -313,6 +313,9 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
msi_free(mi->disk_prompt);
msi_free(mi->cabinet);
msi_free(mi->volume_label);
mi->disk_prompt = NULL;
mi->cabinet = NULL;
mi->volume_label = NULL;
mi->disk_id++;
mi->is_continuous = TRUE;