From 7f3461875572335eedffa272226199dd1c2fc92a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 16 Mar 2020 19:28:18 +0100 Subject: Cleaner memdels --- src/ft_get_traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_get_traps.c') diff --git a/src/ft_get_traps.c b/src/ft_get_traps.c index 0235bb5..b7d12e1 100644 --- a/src/ft_get_traps.c +++ b/src/ft_get_traps.c @@ -55,7 +55,7 @@ int8_t ft_sprintf(clist->errmsg, "%s", FT_ERR_NOT_A_XPM); return (-1); } - ft_memdel((void**)&clist->mlist.traps_path); + ft_memdel((void*)&clist->mlist.traps_path); if (!(clist->mlist.traps_path = ft_strdup(*(words + 1)))) { ft_sprintf(clist->errmsg, "%s", FT_ERR_ALLOCATE); -- cgit v1.2.3