MCPcopy Create free account
hub / github.com/cppla/ServerStatus / default_alloc

Function default_alloc

server/src/json.c:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77} json_state;
78
79static void * default_alloc (size_t size, int zero, void * user_data)
80{
81 return zero ? calloc (1, size) : malloc (size);
82}
83
84static void default_free (void * ptr, void * user_data)
85{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected