Skip to content

Commit 5714aea

Browse files
committed
Remove Malloc, Zalloc and Free
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 95e8676 commit 5714aea

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/utils/utils_common.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@ extern "C" {
2525
#define __TLS __thread
2626
#endif
2727

28-
#define Malloc malloc
29-
#define Free free
30-
31-
static inline void *Zalloc(size_t s) {
32-
void *m = Malloc(s);
33-
if (m) {
34-
memset(m, 0, s);
35-
}
36-
return m;
37-
}
38-
3928
#define NOFUNCTION \
4029
do { \
4130
} while (0)

0 commit comments

Comments
 (0)