mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-22 05:37:06 +00:00
Fix leak of abandoned buffer in anal_block_cb()
This commit is contained in:
parent
a4b9260efd
commit
2a1872fd1d
@ -3462,6 +3462,7 @@ static bool anal_block_cb(RAnalBlock *bb, BlockRecurseCtx *ctx) {
|
||||
}
|
||||
}
|
||||
if (skip_bb) {
|
||||
free (buf);
|
||||
return false;
|
||||
}
|
||||
int *parent_reg_set = r_pvector_at (&ctx->reg_set, r_pvector_len (&ctx->reg_set) - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user