mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-10 15:33:04 +00:00
Fix a use-after-free bug (#15282)
This commit is contained in:
parent
a88d3303e1
commit
56d3ca7743
@ -506,6 +506,7 @@ R_API RAnalEsilDFG *r_anal_esil_dfg_new() {
|
||||
if (!dfg->latest_nodes) {
|
||||
r_graph_free (dfg->flow);
|
||||
free (dfg);
|
||||
return NULL;
|
||||
}
|
||||
return dfg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user