ublox: fix memory leaks in unit tests

This commit is contained in:
Ben Chan
2017-07-12 11:01:27 +02:00
committed by Aleksander Morgado
parent 247890739b
commit 4e99ca7fd5
@@ -480,6 +480,7 @@ test_urat_write_command (void)
command = mm_ublox_build_urat_set_command (urat_tests[i].allowed, urat_tests[i].preferred, &error);
g_assert_no_error (error);
g_assert_cmpstr (command, ==, urat_tests[i].command);
g_free (command);
}
}