summaryrefslogtreecommitdiff
path: root/src/libmbim-glib/test/test-message-parser.c
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2014-07-22 08:02:46 -0700
committerAleksander Morgado <aleksander@aleksander.es>2014-07-22 19:34:08 +0200
commit294d99843aed68db5e3234a701aa7b338ddf12bd (patch)
treefca4a80fea1fff94d5f63976681121792481be86 /src/libmbim-glib/test/test-message-parser.c
parent3e9b6c1d738eb4ade7c311a5cc9fe4987e8402e5 (diff)
libmbim-glib,test: fix a memory leak in test-message-parser
This fixes a memory leak in test-message-parser.
Diffstat (limited to 'src/libmbim-glib/test/test-message-parser.c')
-rw-r--r--src/libmbim-glib/test/test-message-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmbim-glib/test/test-message-parser.c b/src/libmbim-glib/test/test-message-parser.c
index 6878f45..a71c8c5 100644
--- a/src/libmbim-glib/test/test-message-parser.c
+++ b/src/libmbim-glib/test/test-message-parser.c
@@ -653,6 +653,7 @@ test_message_parser_basic_connect_register_state (void)
MBIM_DATA_CLASS_HSUPA));
g_assert_cmpuint (current_cellular_class, ==, MBIM_CELLULAR_CLASS_GSM);
g_assert_cmpstr (provider_id, ==, "26006");
+ g_free (provider_id);
g_assert (provider_name == NULL);
g_assert (roaming_text == NULL);
g_assert_cmpuint (registration_flag, ==, MBIM_REGISTRATION_FLAG_PACKET_SERVICE_AUTOMATIC_ATTACH);