On Fri, Jul 28, 2017 at 12:38:58PM -0400, John Ferlan wrote:
Introduce a helper to handle the error path more cleanly. The same
as virObjectGetLockableObj.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/util/virobject.c | 51 ++++++++++++++++++++++++++++++---------------------
1 file changed, 30 insertions(+), 21 deletions(-)
Without the return value as for patch 01 and 02
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>