virhook: Resolve Coverity NULL_RETURNS
Coverity complains that many other callers to return err from virGetLastError() will check if err is not NULL before dereferencing it. Just do the same here for safety.
Showing
想要评论请 注册 或 登录
Coverity complains that many other callers to return err from virGetLastError() will check if err is not NULL before dereferencing it. Just do the same here for safety.