Fix memory leak for hashing with nondeterministic collations.

Jeff Davis <jdavis@postgresql.org>

Commit: f98c4fb1dd8d117b719963677f0be002cbc5129b
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2022-12-01T19:49:43Z
Releases: 12.14
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