Fix leak in freeing expanded arguments for function calls