commit | 1659f53c3a2c972879c95f1cf6868a812ea0b324 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Sat Aug 26 21:29:13 2006 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Aug 26 21:41:53 2006 +0200 |
tree | 4ecd106e3d52e14f38cca195d3f78648cd0f21e1 | |
parent | 883aef172d4efa7fe1bc3d37ad89ae2545ca58cf [diff] [blame] |
wmc: xmalloc shouldn't initialize to zero, do that explicitly where needed.
diff --git a/tools/wmc/utils.c b/tools/wmc/utils.c index 6b7769e..c91902d 100644 --- a/tools/wmc/utils.c +++ b/tools/wmc/utils.c
@@ -148,12 +148,7 @@ { error("Virtual memory exhausted.\n"); } - /* - * We set it to 0. - * This is *paramount* because we depend on it - * just about everywhere in the rest of the code. - */ - memset(res, 0, size); + memset(res, 0x55, size); return res; }