From 4e99ca7fd527a91bbec50e64d1b70b797c926180 Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Wed, 12 Jul 2017 01:02:36 -0700 Subject: ublox: fix memory leaks in unit tests --- plugins/ublox/tests/test-modem-helpers-ublox.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/ublox/tests/test-modem-helpers-ublox.c') 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); } } -- cgit v1.2.3-70-g09d2