[farsight2/master] Fix potential leak of unset remote candidates
Olivier Crête
olivier.crete at collabora.co.uk
Mon Feb 9 17:00:52 PST 2009
---
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 7c7460d..af4c104 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -426,6 +426,8 @@ fs_nice_stream_transmitter_finalize (GObject *object)
fs_candidate_list_destroy (self->priv->preferred_local_candidates);
+ fs_candidate_list_destroy (self->priv->remote_candidates);
+
if (self->priv->relay_info)
g_value_array_free (self->priv->relay_info);
--
1.5.6.5
More information about the farsight-commits
mailing list