Skip to content

Commit

Permalink
Bugfix for intel#234
Browse files Browse the repository at this point in the history
  • Loading branch information
leecher1337 committed Aug 15, 2019
1 parent 608b113 commit 5e4113b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/memslot.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,12 @@ static inline void memslot_delete(hax_memslot *dest)

static inline void memslot_move(hax_memslot *dest, hax_memslot *src)
{
hax_list_node entry;

ramblock_deref(dest->block);
entry = dest->entry;
memslot_init(dest, src);
dest->entry = entry;
}

static inline void memslot_union(hax_memslot *dest, hax_memslot *src)
Expand Down

0 comments on commit 5e4113b

Please sign in to comment.