| 79 | } |
| 80 | |
| 81 | void |
| 82 | Signature_dealloc(Signature *self) |
| 83 | { |
| 84 | /* self->obj is the owner of the git_signature C structure, so we mustn't free it */ |
| 85 | if (self->obj) { |
| 86 | Py_CLEAR(self->obj); |
| 87 | } else { |
| 88 | git_signature_free((git_signature *) self->signature); |
| 89 | } |
| 90 | |
| 91 | /* we own self->encoding */ |
| 92 | free(self->encoding); |
| 93 | |
| 94 | PyObject_Del(self); |
| 95 | } |
| 96 | |
| 97 | PyDoc_STRVAR(Signature__pointer__doc__, "Get the signature's pointer. For internal use only."); |
| 98 | PyObject * |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…