diff options
author | Marcel Apfelbaum <marcel.a@redhat.com> | 2013-12-02 16:20:59 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-12-11 20:11:09 +0200 |
commit | 6307d974f9a28bb6652352f52da97f820427d29d (patch) | |
tree | f2b10d4785a030bfaa0763c5b9d964026965efa4 /qom | |
parent | 7a10ef51c2397ac4323bc786af02c58b413b5cd2 (diff) |
memory.c: bugfix - ref counting mismatch in memory_region_find
'address_space_get_flatview' gets a reference to a FlatView.
If the flatview lookup fails, the code returns without
"unreferencing" the view.
Cc: qemu-stable@nongnu.org
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions