From 3e7da62ab85f2151906f1540510d38d4dbffdb84 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 4 Dec 2015 12:23:22 +0300 Subject: [PATCH] browseui: Use defined context kind constant with CoGetMalloc(). Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- 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 70c78c97bcb..24183bdc045 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))