MCPcopy Create free account
hub / github.com/cinience/RedisStudio / Malloc

Function Malloc

include/rapidjson/allocators.h:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69public:
70 static const bool kNeedFree = true;
71 void* Malloc(size_t size) { return std::malloc(size); }
72 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) { (void)originalSize; return std::realloc(originalPtr, newSize); }
73 static void Free(void *ptr) { std::free(ptr); }
74};

Callers 1

ReallocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected