Skip to content

Commit ffcf18d

Browse files
committed
---
yaml --- r: 3497 b: refs/heads/master c: be50cdd h: refs/heads/master i: 3495: 0c9e06d v: v3
1 parent 54ec489 commit ffcf18d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: e1927553a58ec0665c18a579b9582b9bfcfbbf13
2+
refs/heads/master: be50cdd24ad3a47413d8cacfcdcdb5b293201490

trunk/src/rt/rust_upcall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ upcall_ivec_resize(rust_task *task,
567567

568568
size_t new_alloc = next_power_of_two(newsz);
569569
rust_ivec_heap *new_heap_part = (rust_ivec_heap *)
570-
task->realloc(v->payload.ptr, new_alloc);
570+
task->realloc(v->payload.ptr, new_alloc + sizeof(size_t));
571571

572572
new_heap_part->fill = newsz;
573573
v->alloc = new_alloc;

0 commit comments

Comments
 (0)