You can throw the potion at your ally if I'm not mistaken, and that will actually heal them