diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-10-10 14:07:37 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-11-09 20:15:56 +0100 |
commit | 6af6f9d1cdcf765586b1ccaf569c7f6ed9b3138c (patch) | |
tree | 4350ad34c6d3674a200d3e8aaa1cd90e2b50cc2d | |
parent | ff299c7a426e283b76559104cecb22d4302aa1d6 (diff) | |
download | external_libqmi-6af6f9d1cdcf765586b1ccaf569c7f6ed9b3138c.zip external_libqmi-6af6f9d1cdcf765586b1ccaf569c7f6ed9b3138c.tar.gz external_libqmi-6af6f9d1cdcf765586b1ccaf569c7f6ed9b3138c.tar.bz2 |
test,message: fix leak in unit tests
-rw-r--r-- | src/libqmi-glib/test/test-message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libqmi-glib/test/test-message.c b/src/libqmi-glib/test/test-message.c index 12f80dd..94d4955 100644 --- a/src/libqmi-glib/test/test-message.c +++ b/src/libqmi-glib/test/test-message.c @@ -114,6 +114,8 @@ test_message_parse_common (const guint8 *buffer, } while (array->len > 0); g_assert_cmpuint (n_messages, ==, n_expected_messages); + + g_byte_array_unref (array); } static void |