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

Function Patch_dealloc

src/patch.c:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static void
65Patch_dealloc(Patch *self)
66{
67 Py_CLEAR(self->oldblob);
68 Py_CLEAR(self->newblob);
69 git_patch_free(self->patch);
70 PyObject_Del(self);
71}
72
73PyDoc_STRVAR(Patch_delta__doc__, "Get the delta associated with a patch.");
74

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…