This commit is contained in:
gazhonsepaskwa
2025-01-17 13:55:28 +01:00
parent f5c5a80fb7
commit ba1a2933e4

View File

@@ -13,3 +13,16 @@ int is_charset(char c, char *set)
} }
return (0); return (0);
} }
void free_tab(char **tab)
{
int i;
i = 0;
while (tab[i])
{
free(tab[i]);
i++;
}
free(tab);
}