Fix memory leak for hashing with nondeterministic collations.

Jeff Davis <jdavis@postgresql.org>

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