perf-test: initial support for talloc leak report in memory tests