fixing the leak valgrind and conditionnal jump on some functions cause i forget to initialize the var to NULL i just need to remember this

This commit is contained in:
Maoake
2025-12-23 09:21:17 +00:00
parent 96a0a6d8f0
commit 85b83f3cc7
9 changed files with 32 additions and 41 deletions

View File

@@ -68,7 +68,7 @@ int my_sqrt(int nb);
int get_max_number(t_stack *first);
int get_min_number(t_stack *first);
int range_bucket(t_stack *first);
t_tab *free_tab(t_tab *first);
t_tab *free_tab(t_tab **first);
t_tab *get_next_tab(t_stack *first, t_tab *tab, int range);
t_tab *init_first_tab(t_stack *first, int range);
t_tab *allocate_tab(int range_max, int nb);