MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / dl_malloc

Function dl_malloc

db/memdebug.c:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84};
85
86void* dl_malloc(size_t sz) {
87 void *out;
88 LOCK(&lk) {
89 out = dlmalloc(sz);
90 } UNLOCK(&lk);
91 return out;
92}
93
94void* dl_calloc(size_t nelem, size_t elemsz) {
95 void *out;

Callers 6

init_symtabFunction · 0.85
get_callFunction · 0.85
get_thread_infoFunction · 0.85
mallocFunction · 0.85
callocFunction · 0.85
strdupFunction · 0.85

Calls 1

dlmallocFunction · 0.85

Tested by

no test coverage detected