
26 May
2017
26 May
'17
8:23 a.m.
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@redhat.com> --- src/node_device/node_device_driver.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
ACK