Fix memory leak for hashing with nondeterministic collations.

Jeff Davis <jdavis@postgresql.org>

Commit: 9377b4f30a14e1c79183b3138fa88fc99d4a872a
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2022-12-01T19:55:59Z
Releases: 15.2
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