[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] qemu-config: never call the callback after an error, fix
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 0/2] qemu-config: never call the callback after an error, fix leak |
Date: |
Wed, 14 Jul 2021 17:13:17 +0200 |
The second patch fixes a memory leak in qemu_config_foreach, reported by
Coverity. The first is an issue in the same place that was found by
inspection of code in the surroundings of the leak.
Paolo
v1->v2: split in two, keep loc_pop the same
Paolo Bonzini (2):
qemu-config: never call the callback after an error, fix leak
qemu-config: fix memory leak on ferror()
util/qemu-config.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.31.1
- [PATCH v2 0/2] qemu-config: never call the callback after an error, fix leak,
Paolo Bonzini <=