#vulnerable code 
                             RiakConnection getConnection() throws IOException {
		RiakConnection c = connections.get();
		if (c == null || !c.endIdleAndCheckValid()) {
			c = new RiakConnection(addr, port);

			if (this.clientID != null) {
				setClientID(clientID);
			}
		} else {
			// we're fine! //
		}
		connections.set(null);
		return c;
	} 
                            #location 13 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             RiakConnection getConnection() throws IOException {
		return getConnection(true);
	}