A few pg_locale.c fixes
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers@postgresql.org
Date: 2026-01-28T19:37:13Z
Lists: pgsql-hackers
Attachments
- v1-0001-Fix-memory-leaks-in-pg_locale_libc.c.patch (text/x-patch) patch v1-0001
- v1-0002-Fix-memory-leaks-in-pg_locale_icu.c.patch (text/x-patch) patch v1-0002
- v1-0003-pg_locale.c-Clean-up-srclen-1.patch (text/x-patch) patch v1-0003
Attached patches. Problems found with AI assistance. Patches by me. Regards, Jeff Davis
Commits
-
Fix memory leaks in pg_locale_icu.c.
- a4515c9b41bc 16.14 landed
- 4761f2eee6c0 17.10 landed
- 4abf63c62bfb 18.4 landed
- d942511f08a0 19 (unreleased) landed
-
Fix theoretical memory leaks in pg_locale_libc.c.
- 09d8c351744d 18.2 landed
- de90bb7db1f8 19 (unreleased) landed