#fixed code
                             public String getClientID() throws IOException {
		RiakConnection c = getConnection();
		try {
			c.send(MSG_GetClientIdReq);
			byte[] data = c.receive(MSG_GetClientIdResp);
			if (data == null)
				return null;
			RpbGetClientIdResp res = RPB.RpbGetClientIdResp.parseFrom(data);
			clientId = res.getClientId().toByteArray();
			return CharsetUtils.asUTF8String(clientId);
		} finally {
			release(c);
		}
	}
#vulnerable code 
                             public String getClientID() throws IOException {
		RiakConnection c = getConnection();
		try {
			c.send(MSG_GetClientIdReq);
			byte[] data = c.receive(MSG_GetClientIdResp);
			if (data == null)
				return null;
			RpbGetClientIdResp res = RPB.RpbGetClientIdResp.parseFrom(data);
			clientID = res.getClientId();
			return clientID.toStringUtf8();
		} finally {
			release(c);
		}
	} 
                            #location 12 
                            #vulnerability type RESOURCE_LEAK