Subject: pgsql: Fix memory leaks in pg_locale_icu.c.

From: Jeff Davis <[email-masked]>
Date: Thu, 26 Feb 2026 20:21:31 +0000

Fix memory leaks in pg_locale_icu.c.

The backport prior to 18 requires minor modification due to code
refactoring.

Discussion: https://postgr.es/m/[email-masked]
Backpatch-through: 16

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d942511f08a0979d9042c9b1d0d56113a451382e

Modified Files
--------------
src/backend/utils/adt/pg_locale_icu.c | 5 +++++
1 file changed, 5 insertions(+)