Fix leak of list when using asj command ##anal

This commit is contained in:
Paul B Mahol 2022-08-06 18:12:44 +02:00 committed by pancake
parent e5234b920c
commit 0f2e7dfdcc

View File

@ -8328,6 +8328,7 @@ static void cmd_anal_syscall(RCore *core, const char *input) {
r_cons_println (pj_string (pj));
pj_free (pj);
}
r_list_free (list);
break;
case '\0':
cmd_syscall_do (core, -1, core->offset);