mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-09 07:42:25 +00:00
rm free of iterator, fix leak
This commit is contained in:
parent
21bb0d8050
commit
1c69a920b6
@ -1505,7 +1505,6 @@ R_API int r_core_anal_fcn_list(RCore *core, const char *input, int rad) {
|
||||
fcn->addr, r_list_length (fcn->bbs), msg, name);
|
||||
}
|
||||
free (msg);
|
||||
free (callrefiter);
|
||||
} else if (rad == 'q') {
|
||||
r_cons_printf ("0x%08"PFMT64x" ", fcn->addr);
|
||||
//fcn->addr, fcn->size, r_list_length (fcn->bbs), fcn->name);
|
||||
|
@ -114,6 +114,7 @@ R_API RBreakpointItem *r_debug_bp_add(RDebug *dbg, ut64 addr, int hw, char *modu
|
||||
bpi->module_name = module;
|
||||
bpi->module_delta = m_delta;
|
||||
}
|
||||
free (module);
|
||||
return bpi;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user