KR> It looks like virNetworkFree() doesn't handle NULL pointers. I think
KR> most of the other libvirt functions do though.
Actually, it looks like it does, it just complains about it. For some
reason, virConnectClose() quietly returns on a bad pointer, but
virDomainFree() and virNetworkFree() both complain. I'm not sure it's
a big deal, or worth making free conditional on network!=NULL. I
imagine at some point we'll wrap the libvirt error handler, which
would allow us to hide this warning.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com