-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
27 lines (24 loc) · 1.07 KB
/
main.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
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gpouyat <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/02 12:00:56 by gpouyat #+# #+# */
/* Updated: 2018/10/02 12:08:54 by gpouyat ### ########.fr */
/* */
/* ************************************************************************** */
#include "./includes/ft_malloc.h"
int main(void)
{
char *toto;
toto = malloc(42);
malloc(500 * 2);
malloc(500 * 2);
malloc(500 * 2);
malloc(500 * 12);
free(toto);
show_alloc_mem();
return (0);
}