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 );