On 10/14/2013 11:29 AM, Viktor Mihajlovski wrote:
Use cleanup_virt_device instead of single free's all over
the place in net_rasd_to_vdev and disk_rasd_to_vdev.
Further, make sure that the device type is always set
independent of the implementation of the xxx_rasd_to_vdev
functions.
Signed-off-by: Viktor Mihajlovski <mihajlov(a)linux.vnet.ibm.com>
---
src/Virt_VirtualSystemManagementService.c | 35 +++++++----------------------
1 file changed, 8 insertions(+), 27 deletions(-)
ACK
John