util: Make the virDomainListFree helper more universal
Extend it to a universal helper used for clearing lists of any objects. Note that the argument type is specifically void * to allow implicit typecasting. Additionally add a helper that works on non-NULL terminated arrays once we know the length.
Showing
想要评论请 注册 或 登录