]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
openvz: fix logic bug in previous patch
authorEric Blake <eblake@redhat.com>
Tue, 17 May 2011 15:12:16 +0000 (09:12 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 17 May 2011 15:12:16 +0000 (09:12 -0600)
commit00fa155578252558b8995722266c467bc11d932b
treeb189993192222826dec7ecef4d4d7d8103a6446b
parent1ccc16c6037f41a1ca1df97321eaa411b0b70181
openvz: fix logic bug in previous patch

We want to free names on failure, not on success.

* src/openvz/openvz_driver.c (openvzListDefinedDomains): Use
correct condition.
src/openvz/openvz_driver.c