projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6d939
)
test-credentials: Fix leak
author
Olivier Crête
<olivier.crete@collabora.com>
Wed, 5 Apr 2017 21:01:35 +0000
(17:01 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Wed, 5 Apr 2017 21:12:17 +0000
(17:12 -0400)
tests/test-credentials.c
patch
|
blob
|
history
diff --git
a/tests/test-credentials.c
b/tests/test-credentials.c
index
1de4e49
..
f1ea89d
100644
(file)
--- 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);