diff options
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++; } |