diff options
author | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:37 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:37 +0000 |
commit | 45594a685928065ca8964e4fd80e361d2892dc34 (patch) | |
tree | b987ee6f6c0a529c27b19cc972b3a84291a3c199 /contrib/intarray/_int_gist.c | |
parent | dde945729477c90324d22131353956a4164ad104 (diff) | |
download | postgresql-45594a685928065ca8964e4fd80e361d2892dc34.tar.gz postgresql-45594a685928065ca8964e4fd80e361d2892dc34.zip |
Fix three Python reference leaks in PLy_traceback(). This would result
in leaking memory when invoking a PL/Python procedure that raises an
exception. Unfortunately this still leaks memory, but at least the
largest leak has been plugged.
This patch also fixes a reference counting mistake in PLy_modify_tuple()
for 8.0, 8.1 and HEAD: we don't actually own a reference to `platt', so
we shouldn't Py_DECREF() it.
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions