Skip to content
Snippets Groups Projects
Commit 99286faf authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Apertis package maintainers
Browse files

Fix tr hack to not leak


Rather then leaking a boxed value to keep the upstream code working wrap
the unescape string into a cow. This causes a bunch of allocations
to happen if the upper/lower character classes are used but at least
there are no allocations leaked.

Signed-off-by: default avatarSjoerd Simons <sjoerd@collabora.com>
parent 05dd754f
No related branches found
No related tags found
1 merge request!1Allow using rust-coreutils as a coreutils replacement
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment