On Thu, May 25, 2017 at 15:57:04 -0400, John Ferlan wrote:
Rather than taking an virNodeDeviceObjPtr and dereffing the
obj->def,
just pass the def.
Also check for an error in the function to have the calling function goto
cleanup on error.
Again two semanticaly different changes in single commit.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/node_device/node_device_driver.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
ACK