free remote pointer in deallocation
This commit is contained in:
@@ -58,6 +58,7 @@ Remote_call(Remote *self, PyObject *args, PyObject *kwds)
|
|||||||
static void
|
static void
|
||||||
Remote_dealloc(Remote *self)
|
Remote_dealloc(Remote *self)
|
||||||
{
|
{
|
||||||
|
git_remote_free(self->remote);
|
||||||
PyObject_Del(self);
|
PyObject_Del(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user