Module: wine Branch: refs/heads/master Commit: f3dae17cbbac0cfd4d088a0778387808bfdfec72 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f3dae17cbbac0cfd4d088a07...
Author: Mike McCormack mike@codeweavers.com Date: Thu Jul 27 11:05:45 2006 +0900
msi: Use msi_alloc/free, not HeapAlloc/Free.
---
dlls/msi/appsearch.c | 3 +-- dlls/msi/msi.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 2e317c1..b47ecec 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -912,8 +912,7 @@ static UINT ACTION_AppSearchDr(MSIPACKAG msi_free(path); if (parent) { - path = HeapAlloc(GetProcessHeap(), 0, strlenW(parent) + - strlenW(expanded) + 1); + path = msi_alloc(strlenW(parent) + strlenW(expanded) + 1); if (!path) goto end; strcpyW(path, parent); diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 5ef72bd..8c9139d 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -531,7 +531,7 @@ UINT WINAPI MSI_GetProductInfo(LPCWSTR s
r = msi_strcpy_to_awstring( val, szValue, pcchValueBuf );
- HeapFree(GetProcessHeap(), 0, val); + msi_free(val);
return r; }