Skip to content

Commit

Permalink
TreeEntry dealloc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoup committed Apr 30, 2019
1 parent d2bb794 commit 0613677
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ void
TreeEntry_dealloc(TreeEntry *self)
{
git_tree_entry_free((git_tree_entry*)self->entry);
if (self->repo) {
Py_CLEAR(self->repo);
}
PyObject_Del(self);
}

Expand Down

0 comments on commit 0613677

Please sign in to comment.