]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix a memory leak in the node_device_udev code
authorChris Lalancette <clalance@redhat.com>
Wed, 28 Apr 2010 19:49:10 +0000 (15:49 -0400)
committerChris Lalancette <clalance@redhat.com>
Thu, 29 Apr 2010 13:15:54 +0000 (09:15 -0400)
commit18b3096c402270634ebc89bd28a1248ad77b925b
treefdfdb2f4dbdc5a02c7cd242e2f50ebf6265c9b74
parent50250aba36f1f4d637fd036ae9beae6557b60e70
Fix a memory leak in the node_device_udev code

We were over-writing a pointer without freeing it in
case of a disk device, leading to a memory leak.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
src/node_device/node_device_udev.c