Commit 3e7da62a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

browseui: Use defined context kind constant with CoGetMalloc().

parent f797f63d
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment