[PATCH v6] locale: memory leak in newlocale [BZ #25770]
Dmitry Kovalenko
d.kovalenko@postgrespro.ru
Mon Jun 2 11:38:54 GMT 2025
>> + assert(locale_path_ptr != NULL);
>> + assert((*locale_path_ptr) == NULL);
>> +
> I don't see any point in these assertions. The only caller is below,
> which always passes the desired arguments.
I know.
I added these debug verifications because I do not rely on an external code.
Even when this code write my own.
I must to remove it?
Thanks&Regards,
Dmitry Kovalenko
More information about the Libc-alpha
mailing list