]> granicus.if.org Git - postgresql/commit
Repair memory leakage introduced into the non-hashed aggregate case by
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Mar 2004 00:54:35 +0000 (00:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Mar 2004 00:54:35 +0000 (00:54 +0000)
commit695c241e5a0c9c3b29fec80faf890c28e73ac5e7
tree2222bbe930b523cdfe977c642371253c13361e9c
parentef41d22e558d4521cebba200cfd170d0e51a44a5
Repair memory leakage introduced into the non-hashed aggregate case by
7.4 rewrite for hashed aggregate support.  If the transition data type
is pass-by-reference, the transValue must be pfreed when starting a new
group boundary, else we have a one-value-per-group leakage.  Thanks to
Rae Steining for providing a reproducible test case.
src/backend/executor/nodeAgg.c