monitor: Fix missing err = NULL in client_migrate_info()
commit606ee8f5eadd79627216bbdde4da0337cb7d4360
authorGonglei <arei.gonglei@huawei.com>
Thu, 12 Feb 2015 01:57:20 +0000 (12 09:57 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 23 Feb 2015 15:59:38 +0000 (23 10:59 -0500)
treeedb4d3dd7013428d3bd000c146c77655d6f7b060
parent438e8289d7746188f0684313d25d38d2a77747c9
monitor: Fix missing err = NULL in client_migrate_info()

When SPICE isn't used, we either fail an assertion in error_set(),
or leak an error object.  Broken in commit b25d81b.

Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c