-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathother_utils.c
26 lines (23 loc) · 1.06 KB
/
other_utils.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* other_utils.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: amacarul <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/17 16:16:47 by amacarul #+# #+# */
/* Updated: 2024/10/17 16:21:00 by amacarul ### ########.fr */
/* */
/* ************************************************************************** */
#include "libpush_swap.h"
void free_split_result(char **split_result)
{
char **current;
current = split_result;
while (*current)
{
free(*current);
current ++;
}
free(split_result);
}