Skip to content

Conversation

@qwe661234
Copy link
Collaborator

Remove the unnecessary memory allocation in elf new and free the block map memory after emuation is complete. These two changes resolve the memory leak and allow the valgrind check to pass.

Remove the unnecessary memory allocation in elf new and free the block
map memory after emuation is complete. These two changes resolve the
memory leak and allow the valgrind check to pass.
@jserv jserv merged commit 72bbb63 into sysprog21:master Feb 15, 2023
@qwe661234 qwe661234 deleted the Fix_memory_leak branch February 15, 2023 13:34
vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants