mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-15 19:58:31 +00:00
Only close capstone handler if not wrongly opened
This commit is contained in:
parent
8726743341
commit
a912a78be9
@ -209,8 +209,8 @@ static int analop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len) {
|
||||
}
|
||||
cs_free (insn, n);
|
||||
}
|
||||
cs_close (&handle);
|
||||
}
|
||||
cs_close (&handle);
|
||||
return op->size;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user