qemu-config: never call the callback after an error, fix leak
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qemu-config: never call the callback after an errorutil/ | +2 | 0 replies | |
| 2/2 | qemu-config: fix memory leak on ferror()util/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] qemu-config: never call the callback after an error, fix leak
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(-)
Signature · 1 line
2.31.1