Don't leak memory during the key generation speed test.