Fix the wrong type passed into iks_stack_delete

iks_stack_delete expects a ikstack **, but ikstack * is passed instead.
I believe it's a bug, which showed itself, because gcc 14 treats wrong
pointer types warnings as errors now.
This commit is contained in:
HisShadow 2024-05-22 17:54:25 +03:00
parent 218a00e2e9
commit c7ef125d30
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ hash_print (hash *h, char *title_fmt, char *line_fmt)
void
hash_delete (hash *h)
{
iks_stack_delete (h->s);
iks_stack_delete (&h->s);
free (h->table);
free (h);
}