diff options
author | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:41 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-02-20 20:10:41 +0000 |
commit | 797deb5092d1ee58b843a3b428b21981648a82b5 (patch) | |
tree | 978a8b579cb79670d555b215d2fe44e4b61ae740 /src/backend/utils/adt/float.c | |
parent | 3bd549ba0a33a4cd71431e6b65aec3447a0e61c3 (diff) | |
download | postgresql-797deb5092d1ee58b843a3b428b21981648a82b5.tar.gz postgresql-797deb5092d1ee58b843a3b428b21981648a82b5.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/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions