MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / base_malloc

Function base_malloc

src/base/memory.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#if !defined MEMLEAK // Without leak detection
22
23void* base_malloc(size_t bytes)
24{
25 assert(bytes != 0);
26 return malloc(bytes);
27}
28
29void* base_malloc0(size_t bytes)
30{

Callers 7

on_alloc_functionFunction · 0.85
on_realloc_functionFunction · 0.85
operator newFunction · 0.85
operator new[]Function · 0.85
get_key_for_pidlFunction · 0.85
onLoadMethod · 0.85
onSaveMethod · 0.85

Calls 1

addslotFunction · 0.85

Tested by

no test coverage detected