Zac Brown : winmm: msiSendStringW: Don' t free substring after original string has already been freed.
Alexandre Julliard
julliard at winehq.org
Wed Jun 4 06:35:38 CDT 2008
Module: wine
Branch: master
Commit: d62c3197b3071e00c58d6967ad88d8d234ccc266
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d62c3197b3071e00c58d6967ad88d8d234ccc266
Author: Zac Brown <zac at zacbrown.org>
Date: Tue Jun 3 14:27:56 2008 -0700
winmm: msiSendStringW: Don't free substring after original string has already been freed.
---
dlls/winmm/mci.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index c792d18..411d28e 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -1443,7 +1443,6 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
errCleanUp:
HeapFree(GetProcessHeap(), 0, verb);
- HeapFree(GetProcessHeap(), 0, devAlias);
return dwRet;
}
More information about the wine-cvs
mailing list