Files
xen/tools
Luca Fancellu 248fbb9ee2 tools/python: Fix memory leak on error path
Commit 56a7aaa16b introduced a memory leak on the error path for a
Py_BuildValue built object that on some newly introduced error path
has not the correct reference count handling, fix that by decrementing
the refcount in these path.

Fixes: 56a7aaa16b ("tools: add physinfo arch_capabilities handling for Arm")
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2023-07-04 20:10:20 +01:00
..
2022-07-11 12:13:24 +02:00
2023-05-16 20:03:02 +01:00
2023-03-17 10:44:16 +00:00
2023-05-16 20:03:02 +01:00
2023-03-17 10:44:16 +00:00