diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-04-05 19:43:08 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-04-05 19:43:08 -0400 |
commit | 93d219be3ce3dcfa7aad737bb401e3035d261c6c (patch) | |
tree | 7c130dcaca720dc89410a6d4504b2fae99559915 | |
parent | 48e2310d2d0f10b2107b91c2235c5ccc703008b6 (diff) |
Make sure nua_op is NULL before ending the sip session
This way we can be sure that we've closed the call correctly.
-rw-r--r-- | 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); |