Line | Branch | Exec | Source |
---|---|---|---|
1 | /* | ||
2 | ** EPITECH PROJECT, 2024 | ||
3 | ** my_free | ||
4 | ** File description: | ||
5 | ** Free all the memory allocated by | ||
6 | ** the my_malloc, my_calloc and my_realloc functions | ||
7 | */ | ||
8 | /** | ||
9 | * @file my_free.c | ||
10 | * @brief The file containing the my_free function | ||
11 | * @author Nicolas TORO | ||
12 | */ | ||
13 | |||
14 | #include "mymemory.h" | ||
15 | |||
16 | 2 | void my_free(void) | |
17 | { | ||
18 | 2 | my_malloc(0, 0); | |
19 | 2 | my_calloc(0, 0, 0); | |
20 | 2 | my_realloc(NULL, 0, 0); | |
21 | 2 | } | |
22 |