[PATCH] browseui: Use defined context kind constant with CoGetMalloc()
Nikolay Sivov
nsivov at codeweavers.com
Fri Dec 4 03:23:22 CST 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/browseui/progressdlg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c
index 70c78c9..24183bd 100644
--- a/dlls/browseui/progressdlg.c
+++ b/dlls/browseui/progressdlg.c
@@ -93,7 +93,7 @@ static void set_buffer(LPWSTR *buffer, LPCWSTR string)
if (string == NULL)
string = empty_string;
- CoGetMalloc(1, &malloc);
+ CoGetMalloc(MEMCTX_TASK, &malloc);
cb = (strlenW(string) + 1)*sizeof(WCHAR);
if (*buffer == NULL || cb > IMalloc_GetSize(malloc, *buffer))
--
2.6.2
More information about the wine-patches
mailing list