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

From: Jeff Davis <[email-masked]>
Date: Thu, 26 Feb 2026 20:21:49 +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
------
REL_16_STABLE

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

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