From bee95916f74b1c6bc6c99cd0f8343a3bfea22e46 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 13 Nov 2007 00:57:01 -0600 Subject: [PATCH] msi: Set the file to NULL when running the directory search. --- dlls/msi/appsearch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 14d0ab9a2fc..d1f1d7ab8d2 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -769,6 +769,9 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU TRACE("%s\n", debugstr_w(sig->Name)); + msi_free(sig->File); + sig->File = NULL; + *appValue = NULL; row = MSI_QueryGetRecord( package->db, query, sig->Name );