James Hawkins : msi: Set the file to NULL when running the directory search .

Alexandre Julliard julliard at winehq.org
Tue Nov 13 08:34:48 CST 2007


Module: wine
Branch: master
Commit: bee95916f74b1c6bc6c99cd0f8343a3bfea22e46
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bee95916f74b1c6bc6c99cd0f8343a3bfea22e46

Author: James Hawkins <truiken at gmail.com>
Date:   Tue Nov 13 00:57:01 2007 -0600

msi: Set the file to NULL when running the directory search.

---

 dlls/msi/appsearch.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c
index 14d0ab9..d1f1d7a 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 );




More information about the wine-cvs mailing list