From ece1b67f549f4ec5f9676c48ba198098efb059f7 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 19 Oct 2001 15:00:26 +0000 Subject: [PATCH] > This stops the interface from leaking the row tuples (and thus the > results of every fetch). Stephen Robert Norris --- src/interfaces/python/pgmodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index ea077b201a3..4bf0fa2aa2f 100644 --- a/src/interfaces/python/pgmodule.c +++ b/src/interfaces/python/pgmodule.c @@ -561,6 +561,7 @@ pgsource_fetch(pgsourceobject * self, PyObject * args) } PyList_Append(reslist, rowtuple); + Py_DECREF(rowtuple); self->current_row++; }