#vulnerable code 
                             @Override
	public void executeUniqueColumnCombinationsAlgorithm(String algorithmName,
			List<InputParameter> parameters) {
		List<ConfigurationValue> configs = convertInputParameters(parameters);
		UniqueColumnCombinationResultReceiver resultReceiver = new UniqueColumnCombinationPrinter(
				new PrintStream(new ByteArrayOutputStream())); //TODO instantiate useful one
		
		executer.executeUniqueColumnCombinationsAlgorithm(algorithmName, configs, resultReceiver);
		System.out.println("Successfully executed " + algorithmName);
	} 
                            #location 8 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             @Override
	public void executeUniqueColumnCombinationsAlgorithm(String algorithmName,
			List<InputParameter> parameters) {
		List<ConfigurationValue> configs = convertInputParameters(parameters);
		UniqueColumnCombinationResultReceiver resultReceiver = new UniqueColumnCombinationFileWriter(
				getResultFileName(algorithmName));
		
		executer.executeUniqueColumnCombinationsAlgorithm(algorithmName, configs, resultReceiver);
	}