Fix huge memory leak on uc_mem_protect() (#787)
A memory region is allocated inside split_region() that was only freed in error case but not on success case, leading to huge memory leak if the region size was significant.
This commit is contained in:
parent
15b99f10d0
commit
1bef32fff6