#fixed code
                             public static void main(String[] args) throws SQLException, Exception {
		AllBenchmark.runBenchmark(DbHelper.getConnection(args), DynamicJdbcMapperForEachBenchmark.class);
	}
#vulnerable code 
                             public static void main(String[] args) throws SQLException, Exception {
		AllBenchmark.runBenchmark(DbHelper.mockDb(), SmallBenchmarkObject.class, DynamicJdbcMapperForEachBenchmark.class, BenchmarkConstants.SINGLE_QUERY_SIZE, BenchmarkConstants.SINGLE_NB_ITERATION);
	} 
                            #location 2 
                            #vulnerability type RESOURCE_LEAK