]> Git Repo - qemu.git/commit - memory.c
memory.c: bugfix - ref counting mismatch in memory_region_find
authorMarcel Apfelbaum <[email protected]>
Mon, 2 Dec 2013 14:20:59 +0000 (16:20 +0200)
committerMichael S. Tsirkin <[email protected]>
Wed, 11 Dec 2013 18:11:09 +0000 (20:11 +0200)
commit6307d974f9a28bb6652352f52da97f820427d29d
treef2b10d4785a030bfaa0763c5b9d964026965efa4
parent7a10ef51c2397ac4323bc786af02c58b413b5cd2
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: [email protected]
Signed-off-by: Marcel Apfelbaum <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
memory.c
This page took 0.024324 seconds and 4 git commands to generate.