]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: Fix memory leak in udevProcessMediatedDevice
authorJiri Denemark <jdenemar@redhat.com>
Mon, 25 Oct 2021 14:22:56 +0000 (16:22 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 26 Oct 2021 08:03:52 +0000 (10:03 +0200)
commitd5b3c62e815958d36a21afd1d0d7454997f6a2de
treeac59368111ff5d6e9bb1eb2d8239d419dfb32469
parentb564ce40aab640c60ac4ce9fb7af605f08d86162
node_device: Fix memory leak in udevProcessMediatedDevice

One of the paths returned -1 directly without going through the cleanup
section.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/node_device/node_device_udev.c