Re: [PATCH for-8.1] tests/test-util-filemonitor: Avoid pointless allocations

2023-07-19 Thread Philippe Mathieu-Daudé
On 19/7/23 17:39, Daniel P. Berrangé wrote: On Wed, Jul 19, 2023 at 05:01:03PM +0200, Philippe Mathieu-Daudé wrote: Coverity reports few resource leaks. While they are harmless, fix them to avoid them showing on the reports. Reported-by: Coverity (CID 1432615: RESOURCE_LEAK) Fixes: 4f370b1098 (

Re: [PATCH for-8.1] tests/test-util-filemonitor: Avoid pointless allocations

2023-07-19 Thread Daniel P . Berrangé
On Wed, Jul 19, 2023 at 05:01:03PM +0200, Philippe Mathieu-Daudé wrote: > Coverity reports few resource leaks. While they are > harmless, fix them to avoid them showing on the reports. > > Reported-by: Coverity (CID 1432615: RESOURCE_LEAK) > Fixes: 4f370b1098 ("test-util-filemonitor: Skip test on

[PATCH for-8.1] tests/test-util-filemonitor: Avoid pointless allocations

2023-07-19 Thread Philippe Mathieu-Daudé
Coverity reports few resource leaks. While they are harmless, fix them to avoid them showing on the reports. Reported-by: Coverity (CID 1432615: RESOURCE_LEAK) Fixes: 4f370b1098 ("test-util-filemonitor: Skip test on non-x86 Travis containers") Signed-off-by: Philippe Mathieu-Daudé --- tests/uni