diff options
author | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:43 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:43 +0000 |
commit | 8ac04d4d78e474a5882ed9adf49b51b62e41958f (patch) | |
tree | 3ede221f8d9b78ef30c17bee0c2618d05c3ace4d /src/tutorial/funcs.c | |
parent | 74f615766c6edca877a8be4cc2a657a2617f90e1 (diff) | |
download | postgresql-8ac04d4d78e474a5882ed9adf49b51b62e41958f.tar.gz postgresql-8ac04d4d78e474a5882ed9adf49b51b62e41958f.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 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions