mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix another memory leak case in sandbox.c:prot_strings()
This is related to the rest of 523587a5cf
This commit is contained in:
parent
9222707e5c
commit
72ba1739e2
@ -1076,7 +1076,7 @@ prot_strings(scmp_filter_ctx ctx, sandbox_cfg_t* cfg)
|
||||
SCMP_CMP(0, SCMP_CMP_EQ, (intptr_t) pr_mem_base));
|
||||
if (ret) {
|
||||
log_err(LD_BUG,"(Sandbox) mremap protected memory filter fail!");
|
||||
return ret;
|
||||
goto out;
|
||||
}
|
||||
|
||||
// no munmap of the protected base address
|
||||
|
Loading…
Reference in New Issue
Block a user