diff options
author | Juan Quintela <quintela@redhat.com> | 2017-05-04 11:45:01 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-06-07 10:20:53 +0200 |
commit | 83c13382e43c4ce157ee26b6d0a6d1db801df78b (patch) | |
tree | c677ae9abeb0f10efd51788666ef909e6d361d9a /migration/ram.h | |
parent | 338182c83c38f6c13731a98e487e7ba3cda6a615 (diff) |
ram: Call migration_page_queue_free() at ram_migration_cleanup()
We shouldn't be using memory later than that.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r-- | migration/ram.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h index c9563d10ac..d4da419a18 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -53,7 +53,6 @@ void migrate_decompress_threads_create(void); void migrate_decompress_threads_join(void); uint64_t ram_pagesize_summary(void); -void migration_page_queue_free(void); int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len); void acct_update_position(QEMUFile *f, size_t size, bool zero); void free_xbzrle_decoded_buf(void); |