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)
committerDavid Mitchell <davem@iabyn.com>
Thu, 7 Mar 2013 13:59:46 +0000 (13:59 +0000)
commit5814803a8fa15d6b5fd483efdaf849a7166f9ac4
treedc2600f35878c46ea001d1c1afa41b77fb68f322
parent30ec7de223b6ce7fa555cc898b5f2a8c8e031710
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