Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: ecfd8588da8b6d2b74d6476d4d1c9e40c7de8b8c
https://github.com/Perl/perl5/commit/ecfd8588da8b6d2b74d6476d4d1c9e40c7de8b8c
Author: David Mitchell <[email protected]>
Date: 2019-11-12 (Tue, 12 Nov 2019)
Changed paths:
M doop.c
Log Message:
-----------
remove leak in tr/ascii/utf8/
The recent change to use invlists left a bug in S_do_trans_invmap()
whereby it allocated a new temp buf if it knew the resulting string
would be too long, but failed to free the buffer at the end.
Showed up as smokes under ASAN failing these tests:
op/tr_latin1.t
op/tr.t
uni/tr_utf8.t