func (j *Judy1) Free() { C.Judy1FreeArray(&j.val, nil) }
// Free the entire Judy1 array. // Return the number of bytes freed. // // NOTE: The Judy array allocates memory directly from the operating system and is NOT garbage collected by the // Go runtime. It is very important that you call Free() on a Judy array after using it to prevent memory leaks. func (j *Judy1) Free() uint64 { return uint64(C.Judy1FreeArray(C.PPvoid_t(&j.array), nil)) }