MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Note_dealloc

Function Note_dealloc

src/note.c:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90static void
91Note_dealloc(Note *self)
92{
93 Py_CLEAR(self->repo);
94 Py_CLEAR(self->annotated_id);
95 Py_CLEAR(self->id);
96 if (self->note != NULL)
97 git_note_free(self->note);
98 PyObject_Del(self);
99}
100
101
102static PyMethodDef Note_methods[] = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…