Free cleans up the C reference.
()
| 220 | |
| 221 | // Free cleans up the C reference. |
| 222 | func (result *DescribeResult) Free() { |
| 223 | runtime.SetFinalizer(result, nil) |
| 224 | C.git_describe_result_free(result.ptr) |
| 225 | result.ptr = nil |
| 226 | } |
nothing calls this directly
no outgoing calls
no test coverage detected