[sr-dev] git:master:fef6e02c: modules/cdp: set CDP session to 0 after free-ing
Richard Good
richard.good at smilecoms.com
Tue Feb 3 15:02:46 CET 2015
Module: kamailio
Branch: master
Commit: fef6e02c0911149ef8622ee018e5a3764bf16a28
URL: https://github.com/kamailio/kamailio/commit/fef6e02c0911149ef8622ee018e5a3764bf16a28
Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at 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/fef6e02c0911149ef8622ee018e5a3764bf16a28.diff
Patch: https://github.com/kamailio/kamailio/commit/fef6e02c0911149ef8622ee018e5a3764bf16a28.patch
---
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:
More information about the sr-dev
mailing list