Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodSpeedHQ/codspeed
/ main
Function
main
crates/memtrack/testdata/double_malloc.c:4–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
#include <unistd.h>
3
4
int main() {
5
sleep(1);
6
void* p1 = malloc(1024);
7
void* p2 = malloc(2048);
8
free(p1);
9
free(p2);
10
return 0;
11
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected