Skip to content

Commit 4fc8fcd

Browse files
committed
---
yaml --- r: 5093 b: refs/heads/master c: 83ac32e h: refs/heads/master i: 5091: 277ddae v: v3
1 parent 99016d3 commit 4fc8fcd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a6c14964c8094e7816d544cdb0b1c47057e76577
2+
refs/heads/master: 83ac32e8aaf10ff2257fea7c7d21c9602c1bb29e

trunk/src/rt/rust_obstack.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ rust_obstack_chunk::alloc(size_t len, type_desc *tydesc) {
5959

6060
rust_obstack_alloc *a = new(data + alen) rust_obstack_alloc(len, tydesc);
6161
alen += sizeof(*a) + len;
62+
memset(a->data, '\0', len); // FIXME: For GC.
6263
return &a->data;
6364
}
6465

0 commit comments

Comments
 (0)