On Thu, 2001-10-18 at 08:46, Stephen Robert Norris wrote:
> This stops the interface from leaking the row tuples (and thus the
> results of every fetch).
>
> Stephen
Of course, I screwed up the patch. This one is actually correct, I
think:
--- /root/pgmodule.c Thu Oct 18 08:47:02 2001
+++ pgmodule.c Thu Oct 18 08:47:25 2001
@@ -566,6 +566,7 @@
}
PyList_Append(reslist, rowtuple);
+ Py_DECREF(rowtuple);
self->current_row++;
}