MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / xode_pool_mallocx

Function xode_pool_mallocx

modules/xmpp/xpool.c:170–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void *xode_pool_mallocx(xode_pool p, int size, char c)
171{
172 void* result = xode_pool_malloc(p, size);
173 if (result != NULL)
174 memset(result, c, size);
175 return result;
176}
177
178/* easy safety utility (for creating blank mem for structs, etc) */
179void *xode_pool_malloco(xode_pool p, int size)

Callers

nothing calls this directly

Calls 1

xode_pool_mallocFunction · 0.70

Tested by

no test coverage detected