Fix memory leak for hashing with nondeterministic collations.
authorJeff Davis <jdavis@postgresql.org>
Thu, 1 Dec 2022 19:26:32 +0000 (11:26 -0800)
committerJeff Davis <jdavis@postgresql.org>
Thu, 1 Dec 2022 19:49:15 +0000 (11:49 -0800)
commitedf12e7bbd0f5cf6b3c4f4d6b2dad8586b10dcc6
tree08ddea0f9c7293749dccd50bd9915601fc2d149c
parenta109a0bb50ad47812b8818e9c98e4f311672d659
Fix memory leak for hashing with nondeterministic collations.

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

Backpatch-through: 12
src/backend/access/hash/hashfunc.c
src/backend/utils/adt/varchar.c