]> git.ipfire.org Git - thirdparty/libvirt.git/commit
closeCallback is already lockable, initialize it as such
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 7 Apr 2015 15:18:01 +0000 (17:18 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 15 Apr 2015 11:33:35 +0000 (13:33 +0200)
commit6dfbaca7b7b2bf36e2ad2dbbb8f3d029810d3d60
tree2f2a07ebe825e62eccaca481783a488ce7b742ee
parent5336a3a47c656a746ee85594d3da9a297b37d52e
closeCallback is already lockable, initialize it as such

Luckily we are allocating structs as clean memory and
PTHREAD_MUTEX_INITIALIZER is "{ 0 }", so nothing happened, but it should
still be created as lockable object.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/datatypes.c