virt: Fix memory leak when using libvirt <= 1.0
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Tue, 27 Mar 2018 14:59:13 +0000 (15:59 +0100)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 19 Apr 2018 12:03:40 +0000 (13:03 +0100)
commita3c8ee7061774b1324c313c7b4abbe6fc5680eec
tree4366550c173ab5df1033b0106bab172204576c85
parent6704c1a7200212956fc9d2df639c20e529f37e8f
virt: Fix memory leak when using libvirt <= 1.0

Cleanup was missing for libvirt-allocated virDomainPtr.

Change-Id: Ied152e9e4084ee9e25b7357e648a6aac8778d09b
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
src/virt.c