diff options
| author | Paolo Bonzini | 2021-07-05 19:14:37 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2021-07-20 17:06:28 +0200 |
| commit | e72f9524febb78ee5ae2a201245cd7b1fb97ad08 (patch) | |
| tree | 9a7d567e76bcd730cf1636f5f67d32f2a370442c /chardev | |
| parent | Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2021-07-19' in... (diff) | |
| download | qemu-e72f9524febb78ee5ae2a201245cd7b1fb97ad08.tar.gz qemu-e72f9524febb78ee5ae2a201245cd7b1fb97ad08.tar.xz qemu-e72f9524febb78ee5ae2a201245cd7b1fb97ad08.zip | |
qemu-config: never call the callback after an error, fix leak
Ensure that the callback to qemu_config_foreach is never called upon
an error, by moving the invocation before the "out" label.
Cc: armbru@redhat.com
Fixes: 3770141139 ("qemu-config: parse configuration files to a QDict", 2021-06-04)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions
