valgrind suppression file for readline()

+ ./.valgrindrc
+ basic free_exit()
+ U_DEFAULT_* macro in _user_macro.h
This commit is contained in:
LuckyLaszlo
2021-10-11 01:58:57 +02:00
parent c0068a5ec7
commit a701488b6a
8 changed files with 45 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/10 05:01:22 by lperrey #+# #+# */
/* Updated: 2021/10/10 08:50:37 by lperrey ### ########.fr */
/* Updated: 2021/10/11 01:50:53 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -38,9 +38,5 @@ int builtin_exit(int argc, char *argv[], t_all *c) // WIP
}
status = ft_atoi(argv[1]);
}
// TODO : remplacer exit(status) par
(void)c;
exit(status);
return (0);
// return (free_exit(&c, status));
return (free_exit(c, status));
}