INN commit: branches/2.4/innd (python.c)
INN Commit
Russ_Allbery at isc.org
Sat Jun 21 17:12:50 UTC 2008
Date: Saturday, June 21, 2008 @ 10:12:50
Author: iulius
Revision: 7884
Better be more careful when decrementing the reference count for these objects.
Modified:
branches/2.4/innd/python.c
----------+
python.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: python.c
===================================================================
--- python.c 2008-06-21 17:09:11 UTC (rev 7883)
+++ python.c 2008-06-21 17:12:50 UTC (rev 7884)
@@ -207,7 +207,7 @@
result = PyObject_CallFunction(mode_method, "sss",
oldmode, newmode, reason);
- Py_DECREF(result);
+ Py_XDECREF(result);
}
@@ -639,7 +639,7 @@
return 0;
}
- Py_DECREF(PYFilterModule);
+ Py_XDECREF(PYFilterModule);
PYFilterModule = newmodule;
if (PYFilterObject == NULL) {
More information about the inn-committers
mailing list