diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-10-19 15:00:26 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-10-19 15:00:26 +0000 |
commit | ece1b67f549f4ec5f9676c48ba198098efb059f7 (patch) | |
tree | 72cae8737814b1fbbf98cdfede62114c081c68aa /src/interfaces/python/pgmodule.c | |
parent | 9590249e14062384bae935cd0d39318d1e70d1bb (diff) | |
download | postgresql-ece1b67f549f4ec5f9676c48ba198098efb059f7.tar.gz postgresql-ece1b67f549f4ec5f9676c48ba198098efb059f7.zip |
> This stops the interface from leaking the row tuples (and thus the
> results of every fetch).
Stephen Robert Norris
Diffstat (limited to 'src/interfaces/python/pgmodule.c')
-rw-r--r-- | src/interfaces/python/pgmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++; } |