Laurent Vivier <[email protected]> wrote: > If we close the QEMUFile descriptor in process_incoming_migration_co() > while it has been stopped by an error, the postcopy_ram_listen_thread() > can try to continue to use it. And as the memory has been freed > it is working with an invalid pointer and crashes. > > Fix this by releasing the memory after having managed the error > case (which, in fact, calls exit()) > > Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
