Yes, killing the hag frees him and the dwarf that has been turned to stone. It should also free the masks in the other room, but I've never been able to interact with them.