fix crash introduced by commit 1d39dbafv1.2.21
commit13375783f09285aeb386bc4c306aa4df3816b2f0
authorPavel Hrdina <[email protected]>
Sat, 31 Oct 2015 01:25:22 +0000 (31 02:25 +0100)
committerPavel Hrdina <[email protected]>
Sat, 31 Oct 2015 01:25:22 +0000 (31 02:25 +0100)
tree2049ebe38372fab1db41d7befe2db176360c60c5
parentd5b08f5c19faffca9c3499c5286199859518e361
fix crash introduced by commit 1d39dbaf

Some of the libvirt_*Wrap functions steals the reference and we need to
set the item in array to NULL no not free it on success.  Those three
places was accidentally removed by commit 1d39dbaf.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1270977

Signed-off-by: Pavel Hrdina <[email protected]>
libvirt-override.c