diff options
author | Avi Kivity <avi@redhat.com> | 2009-06-30 13:24:40 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-30 13:24:40 +0300 |
commit | 628922f53c5f9934f1624f50480b4280d20ee36f (patch) | |
tree | 360c7a302813bf7379c90d183c89d5b23a583178 /exec.c | |
parent | Merge commit '253d0942fac33c5c15c9a7f8657f55f125dc5816' into upstream-merge (diff) | |
parent | Rename LIBOBJS to libobj-y (diff) | |
download | qemu-kvm-628922f53c5f9934f1624f50480b4280d20ee36f.tar.gz qemu-kvm-628922f53c5f9934f1624f50480b4280d20ee36f.tar.bz2 qemu-kvm-628922f53c5f9934f1624f50480b4280d20ee36f.zip |
Merge commit 'c9e0df738918b1d5d39a283500abc3a3ac433f78' into upstream-merge
* commit 'c9e0df738918b1d5d39a283500abc3a3ac433f78':
Rename LIBOBJS to libobj-y
Rename OBJS to obj-y
cpu_unregister_map_client: fix memory leak.
Add documentation for Multiboot
Conflicts:
Makefile.target
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3414,6 +3414,7 @@ void cpu_unregister_map_client(void *_client) MapClient *client = (MapClient *)_client; LIST_REMOVE(client, link); + qemu_free(client); } static void cpu_notify_map_clients(void) @@ -3423,7 +3424,7 @@ static void cpu_notify_map_clients(void) while (!LIST_EMPTY(&map_client_list)) { client = LIST_FIRST(&map_client_list); client->callback(client->opaque); - LIST_REMOVE(client, link); + cpu_unregister_map_client(client); } } |