diff options
Diffstat (limited to 'src/common/mem.c')
-rw-r--r-- | src/common/mem.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/mem.c b/src/common/mem.c index 855e010..02bd8c5 100644 --- a/src/common/mem.c +++ b/src/common/mem.c | |||
@@ -2,6 +2,13 @@ | |||
2 | #include <stdlib.h> | 2 | #include <stdlib.h> |
3 | #include "common/error.h" | 3 | #include "common/error.h" |
4 | 4 | ||
5 | /** | ||
6 | * File: error.c | ||
7 | * | ||
8 | * Author: | ||
9 | * Pacien TRAN-GIRARD | ||
10 | */ | ||
11 | |||
5 | void *malloc_or_die(size_t size) { | 12 | void *malloc_or_die(size_t size) { |
6 | void *ptr = malloc(size); | 13 | void *ptr = malloc(size); |
7 | 14 | ||