Nikolay Sivov : browseui: Use defined context kind constant with CoGetMalloc().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Dec 4 08:19:27 CST 2015
Module: wine
Branch: master
Commit: 3e7da62ab85f2151906f1540510d38d4dbffdb84
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e7da62ab85f2151906f1540510d38d4dbffdb84
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Dec 4 12:23:22 2015 +0300
browseui: Use defined context kind constant with CoGetMalloc().
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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))
More information about the wine-cvs
mailing list