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:
Sjoerd Simons <sjoerd@collabora.com>
parent
05dd754f
No related branches found
No related tags found