Het Gala <het.g...@nutanix.com> writes: > migrate_uri_parse() allocates memory to 'channel' if the user > opts for old syntax - uri, which is leaked because there is no > code for freeing 'channel'. > So, free channel to avoid memory leak in case where 'channels' > is empty and uri parsing is required. > > Fixes: 5994024f ("migration: Implement MigrateChannelList to qmp migration > flow") > Signed-off-by: Het Gala <het.g...@nutanix.com> > Suggested-by: Markus Armbruster <arm...@redhat.com>
Tested-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Markus Armbruster <arm...@redhat.com>