From 24d22be867cd06a217c20d198c84116fec5f150c Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 20 Feb 2012 15:29:51 +0000 Subject: [PATCH] Supress replacing call hash when deleting full call. --- daemon/call.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/call.c b/daemon/call.c index d3bdcd2e2..4007a7177 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1120,6 +1120,7 @@ static void call_destroy_all_branches(struct call *c) { while(c) { mylog(LOG_INFO, "[%s - %s] Delete call branch", c->callid, VIA2STR(c->viabranch)); next = c->next; + c->next = NULL; call_destroy(c); c = next; }