MCPcopy Create free account
hub / github.com/codr7/hacktical-c / default_acquire

Function default_acquire

malloc1/malloc1.c:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "malloc1.h"
6
7static void *default_acquire(struct hc_malloc *m, size_t size) {
8 return malloc(size);
9}
10
11static void default_release(struct hc_malloc *m, void *p) {
12 free(p);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected