maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_free_2d_arr.c File Reference
#include "libft.h"
Include dependency graph for ft_free_2d_arr.c:

Go to the source code of this file.

Functions

void ft_free_2d_arr (char **arr)
 

Function Documentation

◆ ft_free_2d_arr()

void ft_free_2d_arr ( char **  arr)

Definition at line 15 of file ft_free_2d_arr.c.

16{
17 int i;
18
19 if (!arr)
20 return ;
21 i = -1;
22 while (arr[++i] != NULL)
23 free(arr[i]);
24 free(arr);
25}

Referenced by ft_find_path(), process_and_reassemble(), and split_loc_vars().

Here is the caller graph for this function: