[telepathy-gabble/master] Free the selected candidate on finalize.

Mike Ruprecht mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:07 PST 2009


---
 src/call-stream-endpoint.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/call-stream-endpoint.c b/src/call-stream-endpoint.c
index 1fe2bb8..c55cd8e 100644
--- a/src/call-stream-endpoint.c
+++ b/src/call-stream-endpoint.c
@@ -332,6 +332,8 @@ gabble_call_stream_endpoint_finalize (GObject *object)
   /* free any data held directly by the object here */
   g_free (priv->object_path);
 
+  g_boxed_free (GABBLE_STRUCT_TYPE_CANDIDATE, priv->selected_candidate);
+
   G_OBJECT_CLASS (gabble_call_stream_endpoint_parent_class)->finalize (object);
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list