free remote pointer in deallocation

This commit is contained in:
Nico von Geyso
2013-02-16 19:41:00 +01:00
parent 14a6734921
commit 5847007075

View File

@@ -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);
} }