Fix compilation

This commit is contained in:
momo5502
2025-08-09 17:38:20 +02:00
parent eb07148bfd
commit 292fc6ce67
5 changed files with 19 additions and 8 deletions

View File

@@ -103,6 +103,9 @@ namespace icicle
~icicle_x86_64_emulator() override
{
reset_object_with_delayed_destruction(this->hooks_);
reset_object_with_delayed_destruction(this->storage_);
if (this->emu_)
{
icicle_destroy_emulator(this->emu_);

View File

@@ -206,7 +206,7 @@ namespace unicorn
~unicorn_x86_64_emulator() override
{
this->hooks_.clear();
reset_object_with_delayed_destruction(this->hooks_);
uc_close(this->uc_);
}