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:
e6a1941
)
conncheck: fix incoming checks memory leak
author
Fabrice Bellet
<fabrice@bellet.info>
Sun, 16 Jun 2019 19:04:41 +0000
(21:04 +0200)
committer
Olivier CrĂȘte
<olivier.crete@collabora.com>
Thu, 4 Jul 2019 21:03:43 +0000
(17:03 -0400)
agent/conncheck.c
patch
|
blob
|
history
diff --git
a/agent/conncheck.c
b/agent/conncheck.c
index
068705d
..
7a8c73a
100644
(file)
--- a/
agent/conncheck.c
+++ b/
agent/conncheck.c
@@
-1747,6
+1747,9
@@
conn_check_remote_candidates_set(NiceAgent *agent, NiceStream *stream,
priv_mark_pair_nominated (agent, stream, component,
lcand, rcand);
+ if (icheck->username)
+ g_free (icheck->username);
+ g_slice_free (IncomingCheck, icheck);
g_queue_delete_link (&component->incoming_checks, k);
break;
}