Skip to content

Commit

Permalink
Moved list free
Browse files Browse the repository at this point in the history
  • Loading branch information
TheN00bBuilder committed Jun 2, 2024
1 parent 67f903a commit ca0492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/main/rz-ax.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ca0492e

Please sign in to comment.