aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2020-01-20 15:52:52 +0100
committerJuan Quintela <quintela@redhat.com>2020-01-29 11:28:59 +0100
commit334d15d504633a4610b8f4de4e01d8bba24c2655 (patch)
tree9e68e0506ea091d5b7dfc56eafdf5984f53fe546 /tests/qtest
parent4c60e3289875ae6c516a37523bcecb87f68ce67c (diff)
migration-test: Use g_free() instead of free()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/qtest')
-rw-r--r--tests/qtest/migration-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index 26e2e77289..b6a74a05ce 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -1291,7 +1291,7 @@ static void test_multifd_tcp(void)
wait_for_serial("dest_serial");
wait_for_migration_complete(from);
test_migrate_end(from, to, true);
- free(uri);
+ g_free(uri);
}
int main(int argc, char **argv)