James Hawkins : msi: Free the user sid string.

Alexandre Julliard julliard at winehq.org
Wed Dec 12 09:29:18 CST 2007


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

Author: James Hawkins <truiken at gmail.com>
Date:   Tue Dec 11 21:45:51 2007 -0600

msi: Free the user sid string.

---

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

diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c
index beaecae..834eda0 100644
--- a/dlls/msi/registry.c
+++ b/dlls/msi/registry.c
@@ -760,6 +760,7 @@ UINT MSIREG_DeleteUserDataComponentKey(LPCWSTR szComponent)
 
     sprintfW(keypath, szUserDataComp_fmt, usersid, comp);
 
+    msi_free(usersid);
     return RegDeleteTreeW(HKEY_LOCAL_MACHINE, keypath);
 }
 




More information about the wine-cvs mailing list