Skip to content
Snippets Groups Projects

Fix tr hack to not leak

Closed Sjoerd Simons requested to merge wip/sjoerd/dont-leak-boxes into wip/aferraris/default-coreutils

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading