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

Function hc_memo_alloc_deinit

malloc2/malloc2.c:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void hc_memo_alloc_deinit(struct hc_memo_alloc *a) {
60 hc_vector_do(&a->memo.items, _m) {
61 struct memo *m = *(struct memo **)_m;
62 hc_release(a->source, m);
63 }
64
65 hc_set_deinit(&a->memo);
66}
67
68/* Slab */
69

Callers 1

memo_testsFunction · 0.85

Calls 1

hc_set_deinitFunction · 0.85

Tested by 1

memo_testsFunction · 0.68