mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 07:26:42 +00:00
fix memleak in unum
This commit is contained in:
parent
7450ca3ceb
commit
1698f6073e
@ -590,6 +590,7 @@ R_API int r_num_between(RNum *num, const char *input_value) {
|
||||
ns[i] = r_num_math (num, r_list_pop_head (nums));
|
||||
}
|
||||
free (str);
|
||||
r_list_free (nums);
|
||||
return num->value = R_BETWEEN (ns[0], ns[1], ns[2]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user