• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef HOOK_ENABLE
2 #include <stdlib.h>
3 
4 #ifdef USE_JEMALLOC
5 extern void* je_realloc(void* p, size_t newsize);
6 #endif
7 
realloc(void * p,size_t n)8 void *realloc(void *p, size_t n)
9 {
10 #ifdef USE_JEMALLOC
11 	return je_realloc(p, n);
12 #endif
13 	return __libc_realloc(p, n);
14 }
15 #endif
16