[PATCH v10] locale: memory leak in newlocale [BZ #25770]

Dmitry Kovalenko d.kovalenko@postgrespro.ru
Mon Jun 16 10:40:38 GMT 2025


Hello, Guys!

Could you take me the feedback about this patch? )

https://patchwork.sourceware.org/project/glibc/patch/6c6faec4-7fcf-4f1d-8b27-453219a07879@postgrespro.ru/

This problem is the head of the list of other problems in this world ))

----

I think a double initialization (tmp_buffer and locale_patch_ptr) it is 
not a problem - compiler' optimizer will remove one of them.

----

With Best Regards,

Dmitry Kovalenko,

QA, Postgres Pro Professional, Russia.




More information about the Libc-alpha mailing list