[farsight2/master] NULL candidate list when its empty

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:18 PST 2008


---
 transmitters/nice/fs-nice-stream-transmitter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 59beece..eb01c09 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -598,6 +598,7 @@ fs_nice_stream_transmitter_remote_candidates_added (
 
     g_slist_foreach (nice_candidates, (GFunc) g_free, NULL);
     g_slist_free (nice_candidates);
+    nice_candidates = NULL;
   }
   return;
  error:
-- 
1.5.6.5




More information about the farsight-commits mailing list