mirror of https://github.com/postgres/postgres
> This stops the interface from leaking the row tuples (and thus the
> results of every fetch). Stephen Robert Norris
This commit is contained in:
parent
9590249e14
commit
ece1b67f54
|
@ -561,6 +561,7 @@ pgsource_fetch(pgsourceobject * self, PyObject * args)
|
|||
}
|
||||
|
||||
PyList_Append(reslist, rowtuple);
|
||||
Py_DECREF(rowtuple);
|
||||
self->current_row++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue