From 8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 13 Mar 2020 02:35:49 +0100 Subject: Freed leaks --- src/ft_check_missing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_check_missing.c') diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index e349d05..1e89781 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -27,7 +27,7 @@ static int ft_check_missing_sfx(t_cub *clist) { if (ft_check_not_found(FT_SFX_DEATH_PATH) < 0) - return (ft_missing_error(FT_MISS_SFX_DEATH, clist)); + return (ft_missing_error(FT_ERR_MISS_SFX_DEATH, clist)); if (ft_check_not_found(FT_SFX_FS_ONE_PATH) < 0) return (ft_missing_error(FT_ERR_MISS_SFX_FS_ONE, clist)); if (ft_check_not_found(FT_SFX_FS_TWO_PATH) < 0) -- cgit v1.2.3