Fix tr hack to not leak
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:01:25
| Stage: build-env Stage: build |
Download artifacts
No artifacts found |
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
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:01:25
| Stage: build-env Stage: build |
Download artifacts
No artifacts found |