migration: fix leak of src file on dst
commit3482655bbc21d158ed0daaa294c890997238cc23
authorPeter Xu <peterx@redhat.com>
Fri, 19 May 2017 06:43:29 +0000 (19 14:43 +0800)
committerJuan Quintela <quintela@redhat.com>
Thu, 1 Jun 2017 16:48:58 +0000 (1 18:48 +0200)
tree7d339bd3fc0af2dc8a01caee1b06392c7d8ccf14
parent3a011c26bc74ab0fb4b5289a10fff13e46a02e8c
migration: fix leak of src file on dst

The return path channel is possibly leaked. Fix it.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c