diff --git a/librz/main/rz-ax.c b/librz/main/rz-ax.c index 2b88e87e07f..a09869c296c 100644 --- a/librz/main/rz-ax.c +++ b/librz/main/rz-ax.c @@ -516,11 +516,11 @@ static int rax(RzNum *num, char *str, int len, int last, ut64 *_flags, int *fm) } else { date = rz_time_date_dos_to_string(n); } + rz_list_free(split); if (date != NULL) { printf("%s\n", date); fflush(stdout); free(date); - rz_list_free(split); return true; } return false;