Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Free over-allocated space early
We may over malloc some space in buffers to strxfrm(). This frees it now instead of waiting for the whole block to be freed sometime later. This can be a significant amount of memory if the input string to strxfrm() is long.
- Loading branch information