Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
void* base_malloc(size_t bytes)
24
{
25
assert(bytes != 0);
26
return malloc(bytes);
27
}
28
29
void* base_malloc0(size_t bytes)
30
{
Callers
7
on_alloc_function
Function · 0.85
on_realloc_function
Function · 0.85
operator new
Function · 0.85
operator new[]
Function · 0.85
get_key_for_pidl
Function · 0.85
onLoad
Method · 0.85
onSave
Method · 0.85
Calls
1
addslot
Function · 0.85
Tested by
no test coverage detected