From 002cb87165f6a1abe6453c8ef3572c6187c3f2ef Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 14 Aug 2008 15:37:09 +0000 Subject: [PATCH] Wed Aug 13 10:23:28 EDT 2008 Pekka Pessi * nua_dialog.c: clear reference in server request before freeing it git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9289 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nua/nua_dialog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 34ef32b4c0..1630464101 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Aug 12 13:08:36 EDT 2008 +Thu Aug 14 11:37:00 EDT 2008 diff --git a/libs/sofia-sip/libsofia-sip-ua/nua/nua_dialog.c b/libs/sofia-sip/libsofia-sip-ua/nua/nua_dialog.c index 2e0f8931ab..02b5b82cf2 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nua/nua_dialog.c +++ b/libs/sofia-sip/libsofia-sip-ua/nua/nua_dialog.c @@ -398,9 +398,9 @@ void nua_dialog_usage_remove_at(nua_owner_t *own, for (sr = ds->ds_sr; sr; sr = sr_next) { sr_next = sr->sr_next; if (sr->sr_usage == du) { + sr->sr_usage = NULL; if (sr != sr0) nua_server_request_destroy(sr); - sr->sr_usage = NULL; } }