Encode: Fixed a memory leak that occurred in the UTF-8 encoding.
authorchansen <chansen@cpan.org>
Sun, 3 Mar 2013 21:43:53 +0000 (22:43 +0100)
committerRicardo Signes <rjbs@cpan.org>
Wed, 6 Mar 2013 14:53:00 +0000 (09:53 -0500)
commitbbe897dfad5c0643d0541674a5e2b6c7d8e564b3
tree05ad39046b15c1cc543c67f4429d35390cc0d06e
parent716e2c337e3e23cdd15e2704f4768be04b1e6e25
Encode: Fixed a memory leak that occurred in the UTF-8 encoding.

The decode and encode methods allocated a SV for the result, this SV
is passed to the process_utf8() function which may croak() if the
CHECK flag has FB_CROAK set.
cpan/Encode/Encode.xs