do not free MemoryRegion in memory_unmap() because it will be unref later in memory_region_unref(). this fixes issue #202
This commit is contained in:
@ -697,7 +697,7 @@ void object_ref(Object *obj)
|
||||
if (!obj) {
|
||||
return;
|
||||
}
|
||||
atomic_inc(&obj->ref);
|
||||
atomic_inc(&obj->ref);
|
||||
}
|
||||
|
||||
void object_unref(struct uc_struct *uc, Object *obj)
|
||||
|
Reference in New Issue
Block a user