telepathy-rakia: Make sure nua_op is NULL before ending the sip session
Olivier Crête
tester at kemper.freedesktop.org
Tue May 8 10:03:04 PDT 2012
Module: telepathy-rakia
Branch: master
Commit: 93d219be3ce3dcfa7aad737bb401e3035d261c6c
URL: http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=93d219be3ce3dcfa7aad737bb401e3035d261c6c
Author: Olivier Crête <olivier.crete at collabora.com>
Date: Thu Apr 5 19:43:08 2012 -0400
Make sure nua_op is NULL before ending the sip session
This way we can be sure that we've closed the call correctly.
---
rakia/sip-session.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rakia/sip-session.c b/rakia/sip-session.c
index 7284625..537ebab 100644
--- a/rakia/sip-session.c
+++ b/rakia/sip-session.c
@@ -418,6 +418,8 @@ rakia_sip_session_finalize (GObject *object)
RakiaSipSession *self = RAKIA_SIP_SESSION (object);
RakiaSipSessionPrivate *priv = RAKIA_SIP_SESSION_GET_PRIVATE (self);
+ g_assert (priv->nua_op == NULL);
+
g_free (priv->local_sdp);
G_OBJECT_CLASS (rakia_sip_session_parent_class)->finalize (object);
More information about the telepathy-commits
mailing list