Re: [PATCH] node_device: fix leak of DIR*

2020-10-28 Thread Ján Tomko
On a Tuesday in 2020, Laine Stump wrote: Commit 53aec799fa31 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. Signed-off-by:

Re: [PATCH] node_device: fix leak of DIR*

2020-10-28 Thread Daniel Henrique Barboza
On 10/27/20 10:46 PM, Laine Stump wrote: Commit 53aec799fa31 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.

[PATCH] node_device: fix leak of DIR*

2020-10-27 Thread Laine Stump
Commit 53aec799fa31 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. Signed-off-by: Laine Stump ---