From 5606428a718761a2dfb69bcaba9561e7bd9d038a Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 23 Oct 2007 03:10:11 -0500 Subject: [PATCH] msi: Set media info strings to NULL after freeing them. --- dlls/msi/files.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index f2561d4117..0c27a90162 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -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;