Fixed a new [] , delete mismatch in MatchCandidateBenchmark

The static analyzer identified the new[], delete mismatch. Changed code to use std::vector<> instead which avoids the whole problem.