ublox: fix memory leaks in unit tests
This commit is contained in:

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);
|
command = mm_ublox_build_urat_set_command (urat_tests[i].allowed, urat_tests[i].preferred, &error);
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
g_assert_cmpstr (command, ==, urat_tests[i].command);
|
g_assert_cmpstr (command, ==, urat_tests[i].command);
|
||||||
|
g_free (command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user