Fix memory leak for hashing with nondeterministic collations.

Jeff Davis <jdavis@postgresql.org>

Commit: 47e1224d590ccbc0d745e812dffe2fa913201776
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2022-12-01T19:53:53Z
Releases: 14.7
Fix memory leak for hashing with nondeterministic collations.

Backpatch through 12, where nondeterministic collations were
introduced (5e1963fb76).

Backpatch-through: 12

Files

PathChange+/−
src/backend/access/hash/hashfunc.c modified +2 −0
src/backend/utils/adt/varchar.c modified +2 −0