Fix a use-after-free bug (#15282)

This commit is contained in:
dav1901 2019-10-15 16:52:20 +03:00 committed by radare
parent a88d3303e1
commit 56d3ca7743

View File

@ -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;
}