Module: kamailio
Branch: master
Commit: fef6e02c0911149ef8622ee018e5a3764bf16a28
URL:
https://github.com/kamailio/kamailio/commit/fef6e02c0911149ef8622ee018e5a37…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: 2015-02-03T16:02:09+02:00
modules/cdp: set CDP session to 0 after free-ing
---
Modified: modules/cdp/authstatemachine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/fef6e02c0911149ef8622ee018e5a37…
Patch:
https://github.com/kamailio/kamailio/commit/fef6e02c0911149ef8622ee018e5a37…
---
diff --git a/modules/cdp/authstatemachine.c b/modules/cdp/authstatemachine.c
index 50d6ed7..921ff98 100644
--- a/modules/cdp/authstatemachine.c
+++ b/modules/cdp/authstatemachine.c
@@ -248,6 +248,7 @@ inline int auth_client_statefull_sm_process(cdp_session_t* s, int
event, AAAMess
case AUTH_EV_SERVICE_TERMINATED:
case AUTH_EV_SESSION_GRACE_TIMEOUT:
cdp_session_cleanup(s, NULL);
+ s==0;
break;
default: