aboutsummaryrefslogtreecommitdiff
path: root/plugins/ublox/tests/test-modem-helpers-ublox.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-07-12 01:02:36 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-07-12 11:01:27 +0200
commit4e99ca7fd527a91bbec50e64d1b70b797c926180 (patch)
tree1f0206771c6d6a8fd9d366a7c1c481e54dfadd20 /plugins/ublox/tests/test-modem-helpers-ublox.c
parent247890739b940b448d76a2d83bbc34ba91a83d33 (diff)
ublox: fix memory leaks in unit tests
Diffstat (limited to 'plugins/ublox/tests/test-modem-helpers-ublox.c')
-rw-r--r--plugins/ublox/tests/test-modem-helpers-ublox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ublox/tests/test-modem-helpers-ublox.c b/plugins/ublox/tests/test-modem-helpers-ublox.c
index 286a58af..c85eaeea 100644
--- a/plugins/ublox/tests/test-modem-helpers-ublox.c
+++ b/plugins/ublox/tests/test-modem-helpers-ublox.c
@@ -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);
}
}