]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
testNetworkUpdate: Unlock network at the end
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Feb 2015 16:46:45 +0000 (17:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Mar 2015 09:08:14 +0000 (10:08 +0100)
commit77ea6f7b0ba082f83e2bddac519fc30fa3a3d03c
tree735ece621aff36aa8118b63fe8269cf0287c74cb
parent7b8c12d8ceced498a71afd373f679dacc9f5b87e
testNetworkUpdate: Unlock network at the end

Silly this bug went unnoticed so long. At the beginning we try to
find the passed network in the list of network objects. If found,
it's locked and real work takes place. Then, in the end, the
network object is never unlocked.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/test/test_driver.c