summaryrefslogtreecommitdiff
path: root/unit/test-gobex-apparam.c
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2014-02-11 14:16:31 -0400
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-02-12 11:49:31 +0200
commit8e2a1c26b59b4d67615afc7d5ca3dc6403d445e5 (patch)
treeecf09509edf2bc596fd98d5f76f4bcde18f7f697 /unit/test-gobex-apparam.c
parent124f6f05956e95f797eff5fc24e069e2f0b54789 (diff)
downloadbluez-8e2a1c26b59b4d67615afc7d5ca3dc6403d445e5.tar.gz
unit: Fix memory leaks in gobex tests
Diffstat (limited to 'unit/test-gobex-apparam.c')
-rw-r--r--unit/test-gobex-apparam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit/test-gobex-apparam.c b/unit/test-gobex-apparam.c
index e6a42cc7f..976c541bf 100644
--- a/unit/test-gobex-apparam.c
+++ b/unit/test-gobex-apparam.c
@@ -250,6 +250,8 @@ static void test_apparam_get_multi(void)
g_assert(string != NULL);
g_assert_cmpstr(string, ==, "ABC");
+ g_free(string);
+
g_obex_apparam_free(apparam);
}