]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix a reference leak for node devices.
authorChris Lalancette <clalance@redhat.com>
Fri, 25 Jun 2010 21:22:11 +0000 (17:22 -0400)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 25 Jun 2010 22:53:59 +0000 (00:53 +0200)
commit3003c46d13d07184bfa55f24dad0b9e35c779929
tree72356c8281190dd1a68e5529f38e45d184cdc857
parent6d9743158c6c0dece1bbef2b58924b25fd3bd5dc
Fix a reference leak for node devices.

There were some major, and some minor bugs having to do with
the reference counting of node devices in daemon/remote.c.

Some functions were completely failing to unreference node devices;
this would lead to many open file descriptors, which would eventually
fail.

The minor bugs were along the same lines, but were in rarely
used error paths.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>
daemon/remote.c