aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_free_words.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 13:32:40 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 13:32:40 +0100
commitd1097088999c538601158805cf77250d51513f98 (patch)
tree731f010c02189ff0df4530640a2d30e50160a80a /src/ft_free_words.c
parentScale (diff)
download42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.gz
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.bz2
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.xz
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.zst
42-cub3d-d1097088999c538601158805cf77250d51513f98.zip
Don't mess with me boy
Diffstat (limited to 'src/ft_free_words.c')
-rw-r--r--src/ft_free_words.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_free_words.c b/src/ft_free_words.c
index 99b7daf..de52244 100644
--- a/src/ft_free_words.c
+++ b/src/ft_free_words.c
@@ -13,7 +13,7 @@
#include <libft.h>
-void
+uint8_t
ft_free_words(char **words)
{
size_t i;
@@ -25,4 +25,5 @@ void
i++;
}
ft_memdel((void**)&words);
+ return (0);
}