[test] tx-valid: fix memleak
[test] tx-valid: fix memleak

01BTC10/picocoin,dtebbs/picocoin,mezzovide/picocoin,dtebbs/picocoin,jl777/picocoin,dtebbs/picocoin,01BTC10/picocoin,favioflamingo/picocoin,jl777/picocoin,mezzovide/picocoin,jl777/picocoin,01BTC10/picocoin,favioflamingo/picocoin,mezzovide/picocoin