diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2017-04-05 17:01:35 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2017-04-05 17:12:17 -0400 |
commit | 10c557f23f8337f1304fff27bd85d2eb713cb249 (patch) | |
tree | 0a65bb4ad22c4bb920400a061b71f9c5d7d2e02a | |
parent | ae6d939e48366b80570d713b83334191b0982e71 (diff) | |
download | libnice-10c557f23f8337f1304fff27bd85d2eb713cb249.tar.gz |
test-credentials: Fix leak
-rw-r--r-- | tests/test-credentials.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-credentials.c b/tests/test-credentials.c index 1de4e49..f1ea89d 100644 --- a/tests/test-credentials.c +++ b/tests/test-credentials.c @@ -184,6 +184,8 @@ int main (void) nice_agent_get_local_credentials (lagent, 1, &ufrag, &password); g_assert (g_strcmp0("unicorns", ufrag) == 0); g_assert (g_strcmp0("awesome", password) == 0); + g_free (ufrag); + g_free (password); nice_agent_gather_candidates (lagent, 1); nice_agent_gather_candidates (ragent, 1); |