Wed Aug 13 10:23:28 EDT 2008 Pekka Pessi <first.last@nokia.com>

* 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
This commit is contained in:
Michael Jerris 2008-08-14 15:37:09 +00:00
parent 10d681e90d
commit 002cb87165
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Tue Aug 12 13:08:36 EDT 2008
Thu Aug 14 11:37:00 EDT 2008

View File

@ -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;
}
}