OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9590249
)
> This stops the interface from leaking the row tuples (and thus the
author
Bruce Momjian
<bruce@momjian.us>
Fri, 19 Oct 2001 15:00:26 +0000
(15:00 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 19 Oct 2001 15:00:26 +0000
(15:00 +0000)
> results of every fetch).
Stephen Robert Norris
src/interfaces/python/pgmodule.c
patch
|
blob
|
history
diff --git
a/src/interfaces/python/pgmodule.c
b/src/interfaces/python/pgmodule.c
index
ea077b2
..
4bf0fa2
100644
(file)
--- 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++;
}