]> 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:10 +0000 (00:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Mar 2004 00:54:10 +0000 (00:54 +0000)
commit642cd0ab13f01c84b789c75024778fe2e6c5d10a
treeae4f27caf2f0dd7bb71f05ce0c079cd985617138
parent58e351113fc9ca9064766e62547fcc26b4664a9a
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