]> granicus.if.org Git - postgresql/commit
Fix within-function memory leaks in the various PLs' interfaces to
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Oct 2002 22:10:58 +0000 (22:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Oct 2002 22:10:58 +0000 (22:10 +0000)
commit4a67565b37ef4fae12c341d069b1145cfae10144
tree63755e34ce59feddff4a9fbeafb0c3d716b9c58f
parent30c2b5ec7212c7b6881a7a25ca604ffe5229059d
Fix within-function memory leaks in the various PLs' interfaces to
SPI_prepare: they all save the prepared plan into topCxt, and so the
procCxt copy that's actually returned by SPI_prepare ought to be freed.
Diagnosis and plpython fix by Nigel Andrews, followup for other PLs
by Tom Lane.
src/pl/plpgsql/src/pl_exec.c
src/pl/plpython/plpython.c
src/pl/tcl/pltcl.c