Henri Verbeet : usp10: Use heap_calloc() in computeIsolatingRunsSet().
Alexandre Julliard
julliard at winehq.org
Mon Mar 26 16:01:22 CDT 2018
Module: wine
Branch: master
Commit: a3b7712263c8520b521ffbee8ad5f006a863868d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a3b7712263c8520b521ffbee8ad5f006a863868d
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Mar 26 14:18:41 2018 +0430
usp10: Use heap_calloc() in computeIsolatingRunsSet().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/usp10/bidi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/usp10/bidi.c b/dlls/usp10/bidi.c
index b0df781..0fb03ef 100644
--- a/dlls/usp10/bidi.c
+++ b/dlls/usp10/bidi.c
@@ -998,7 +998,7 @@ static void computeIsolatingRunsSet(unsigned baselevel, WORD *pcls, const WORD *
Run *runs;
IsolatedRun *current_isolated;
- if (!(runs = heap_alloc(uCount * sizeof(*runs))))
+ if (!(runs = heap_calloc(uCount, sizeof(*runs))))
return;
list_init(set);
More information about the wine-cvs
mailing list