This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Fix memory leak
authorKarl Williamson <khw@cpan.org>
Mon, 19 Mar 2018 21:36:56 +0000 (15:36 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 19 Mar 2018 22:27:09 +0000 (16:27 -0600)
commitf8115d60e8936ca9247d60e860ac0d21240bd8b1
tree5b94b7b906ab4f28cd56041a3b33aa769cb12b62
parentd0fbdd4e37fd531137981f21ede2bed5125219d1
locale.c: Fix memory leak

This was caused by doing some initialization work out-of-order.  This
commit just moves some code to later in the function, revising some
comments to make sense after the move.
locale.c