rm free of iterator, fix leak

This commit is contained in:
Jeffrey Crowell 2016-05-17 23:44:14 -04:00
parent 21bb0d8050
commit 1c69a920b6
2 changed files with 1 additions and 1 deletions

View File

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

View File

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