From cc90f574e6df46fa712d628b99af2f33cc9969c5 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Thu, 19 Apr 2007 06:51:54 +0000 Subject: [PATCH] Make sure peer link is removed on hangup. --- chan_capi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chan_capi.c b/chan_capi.c index 86f001f..fabc556 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -903,7 +903,8 @@ static void interface_cleanup(struct capi_pvt *i) free(i->qsig_data.pr_propose_pn); } - + + i->peer = NULL; i->owner = NULL; return; }