fix: loop freeing parsing missing an element

This commit is contained in:
0x35c
2025-05-29 14:54:21 +02:00
parent 2040551742
commit a94bbf0671

View File

@ -11,7 +11,7 @@
void free_options(struct option_lst *options)
{
struct option_lst *it = options;
while (it->next) {
while (it) {
struct option_lst *tmp = it;
it = it->next;
free(tmp);