]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lockd: Need to Unref @srv when done with it.
authorJohn Ferlan <jferlan@redhat.com>
Sat, 28 Oct 2017 21:03:20 +0000 (17:03 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 6 Nov 2017 20:53:41 +0000 (15:53 -0500)
commit82fa7fc3ab5a2dd6af22c7addbe451f825105c96
tree6997043fb204c5d3b0e99b0cb8c42084a1d41341
parentbce925dadaf8fe4693abee88fb68aa7ede9d209e
lockd: Need to Unref @srv when done with it.

Commit id '252610f7d' used a hash table to store the @srv, but
didn't handle the virObjectUnref if virNetDaemonNew failed nor
did it use virObjectUnref once successfully placed into the table
which will now be managing it's lifetime (and would cause the
virObjectRef if successfully inserted into the table).
src/locking/lock_daemon.c