MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / DbugMalloc

Function DbugMalloc

dbug/dbug.c:2204–2211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2202 */
2203
2204static char *DbugMalloc(size_t size)
2205{
2206 register char *new_malloc;
2207
2208 if (!(new_malloc= (char*) malloc(size)))
2209 DbugExit("out of memory");
2210 return new_malloc;
2211}
2212
2213
2214/*

Callers 4

code_stateFunction · 0.85
ListAddDelFunction · 0.85
ListCopyFunction · 0.85
PushStateFunction · 0.85

Calls 1

DbugExitFunction · 0.85

Tested by

no test coverage detected