Skip to content

Commit 5f08d37

Browse files
committed
---
yaml --- r: 16261 b: refs/heads/try c: 99d6807 h: refs/heads/master i: 16259: e166a2d v: v3
1 parent 2ffa13d commit 5f08d37

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 78fe75a7415f1073917b5202b83dad6f2ce0c2d6
5+
refs/heads/try: 99d6807ee009b0289d5a1ae46385d251e4f0da64
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/rust_upcall.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ exchange_malloc(rust_task *task, type_desc *td, uintptr_t size) {
168168
void *p = task->kernel->malloc(total_size, "exchange malloc");
169169

170170
rust_opaque_box *header = static_cast<rust_opaque_box*>(p);
171+
header->ref_count = -1; // This is not ref counted
171172
header->td = td;
173+
header->prev = 0;
174+
header->next = 0;
172175

173176
memset(&header[1], '\0', body_size);
174177

0 commit comments

Comments
 (0)