[farsight2/master] Fix leak in simple call

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


---
 tests/commandline/simple-call.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/commandline/simple-call.c b/tests/commandline/simple-call.c
index 7aeedec..786ae3b 100644
--- a/tests/commandline/simple-call.c
+++ b/tests/commandline/simple-call.c
@@ -104,6 +104,8 @@ add_audio_session (GstElement *pipeline, FsConference *conf, guint id,
   print_error (error);
   g_assert (ses->stream);
 
+  g_value_unset (&param.value);
+
   g_signal_connect (ses->stream, "src-pad-added",
       G_CALLBACK (src_pad_added_cb), pipeline);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list