[farsight2/master] Free gotten candidates (adapt to new api)
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:23 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 4ac7909..a9b13d5 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1190,6 +1190,7 @@ agent_new_selected_pair (NiceAgent *agent,
break;
}
}
+ g_slist_foreach (candidates, (GFunc)nice_candidate_free, NULL);
g_slist_free (candidates);
candidates = nice_agent_get_remote_candidates (
@@ -1207,6 +1208,7 @@ agent_new_selected_pair (NiceAgent *agent,
break;
}
}
+ g_slist_foreach (candidates, (GFunc)nice_candidate_free, NULL);
g_slist_free (candidates);
--
1.5.6.5
More information about the farsight-commits
mailing list