Rev 1334: Fix reference count, argument. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4
Jelmer Vernooij
jelmer at samba.org
Tue Jun 24 02:56:06 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/0.4
------------------------------------------------------------
revno: 1334
revision-id: jelmer at samba.org-20080624015605-vgrmxiiybzc2vsoe
parent: jelmer at samba.org-20080624013135-bb01g3o08o278iz7
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Tue 2008-06-24 03:56:05 +0200
message:
Fix reference count, argument.
modified:
ra.c ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c 2008-06-24 01:09:56 +0000
+++ b/ra.c 2008-06-24 01:56:05 +0000
@@ -985,6 +985,9 @@
if (ret == NULL)
return py_svn_error();
+ Py_DECREF((PyObject *)edit_baton);
+ Py_DECREF(ret);
+
return NULL;
}
@@ -997,7 +1000,7 @@
PyObject *cbs;
bool send_deltas = true;
- if (!PyArg_ParseTuple(args, "lllOO|b", &start_revision, &end_revision, &low_water_mark, &cbs, &send_deltas))
+ if (!PyArg_ParseTuple(args, "lllO|b", &start_revision, &end_revision, &low_water_mark, &cbs, &send_deltas))
return NULL;
if (!PyTuple_Check(cbs)) {
More information about the bazaar-commits
mailing list