MCPcopy Create free account
hub / github.com/egonelbre/exp / Dealloc

Method Dealloc

mm/malloc.go:21–24  ·  view source on GitHub ↗
(p unsafe.Pointer)

Source from the content-addressed store, hash-verified

19}
20
21func (m Malloc) Dealloc(p unsafe.Pointer) bool {
22 C.free(p)
23 return true
24}
25
26func (m Malloc) Realloc(p *unsafe.Pointer, size int) bool {
27 if size == 0 {

Callers 1

ReallocMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected