libvirt/src/node_device
Laine Stump 13fe8d607d node_device: fix leak of DIR*
Commit 53aec799fa introduced the function udevGetVDPACharDev(),
which scans a directory using virDirOpenIfExists() and
virDirRead(). It unfortunately forgets to close the DIR* when it is
finished with it. This patch fixes that omission.

Fixes: 53aec799fa
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2020-11-01 20:34:23 -05:00
..
meson.build remove HAL node device driver 2020-09-17 18:19:26 +02:00
node_device_driver.c Reduce scope of some variables 2020-09-24 11:19:06 +02:00
node_device_driver.h remove HAL node device driver 2020-09-17 18:19:26 +02:00
node_device_udev.c node_device: fix leak of DIR* 2020-11-01 20:34:23 -05:00
node_device_udev.h Revert "Also look for dmi information in /sys/class" 2020-10-02 13:56:46 +02:00
virtnodedevd.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtnodedevd.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtnodedevd.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00