mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-05 03:09:30 +00:00
2cb4b820fd
Coverity complains that "net_set" is compared to NULL before calling xen_network_set_free, but used rather liberally before that. While I was looking at the code I also noted that if the virAsprintfQuiet fails, then we leak our structures - so I added those too. (cherry picked from commit 6da29e0faa44209bcbd737920d93c760104b8349)