export smartSubtransportFreeCallback
(t *C.git_smart_subtransport)
| 417 | |
| 418 | //export smartSubtransportFreeCallback |
| 419 | func smartSubtransportFreeCallback(t *C.git_smart_subtransport) { |
| 420 | subtransport := getSmartSubtransportInterface(t) |
| 421 | |
| 422 | if subtransport.underlying != nil { |
| 423 | subtransport.underlying.Free() |
| 424 | subtransport.underlying = nil |
| 425 | } |
| 426 | pointerHandles.Untrack(subtransport.handle) |
| 427 | C.free(unsafe.Pointer(subtransport.subtransport)) |
| 428 | subtransport.handle = nil |
| 429 | subtransport.subtransport = nil |
| 430 | } |
| 431 | |
| 432 | type managedSmartSubtransportStream struct { |
| 433 | owner *C.git_smart_subtransport_stream |
nothing calls this directly
no test coverage detected
searching dependent graphs…