From ca0492edf290da8a3cc465845afd3416adae1034 Mon Sep 17 00:00:00 2001 From: TheN00bBuilder Date: Sat, 1 Jun 2024 19:28:08 -0500 Subject: [PATCH] Moved list free --- librz/main/rz-ax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;