app/test-crypto-perf: fix double allocation of memory