fix memleak. related: https://rt.perl.org/Public/Bug/Display.html?id=59268
does not use this
Merge pull request #4 from kazeburo/memleak

fixed memleak