Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix https://github.com/unicorn-engine/unicorn/issues/1588 #1593

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next
Fix #1588
  • Loading branch information
liyansong2018 committed Apr 13, 2022
commit 6a879a082d4d67a5d13f1233ae0334cde0a7f844
2 changes: 1 addition & 1 deletion qemu/exec.c
Expand Up @@ -1130,7 +1130,7 @@ void qemu_ram_free(struct uc_struct *uc, RAMBlock *block)
// ram_block_notify_remove(block->host, block->max_length);
//}

QLIST_REMOVE(block, next);
QLIST_SAFE_REMOVE(block, next);
uc->ram_list.mru_block = NULL;
/* Write list before version */
//smp_wmb();
Expand Down