Merge remote-tracking branch 'jun/crash-in-create-remote'

This commit is contained in:
J. David Ibáñez
2013-04-19 15:36:19 +02:00

View File

@@ -1025,6 +1025,7 @@ Repository_create_remote(Repository *self, PyObject *args)
return Error_set(err);
py_remote = PyObject_New(Remote, &RemoteType);
Py_INCREF(self);
py_remote->repo = self;
py_remote->remote = remote;