Module: sip-router Branch: master Commit: a925dbd9e1aa6d45d2ce1dbbb1b6e40f318e3c61 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a925dbd9...
Author: Marius Zbihlei marius.zbihlei@1and1.ro Committer: Marius Zbihlei marius.zbihlei@1and1.ro Date: Wed Aug 17 14:44:52 2011 +0300
modules_k/uac In case uuid was not found in the case of remore registration, do not crash when jumping to label
---
modules_k/uac/uac_reg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/uac/uac_reg.c b/modules_k/uac/uac_reg.c index 253cc14..c25712f 100644 --- a/modules_k/uac/uac_reg.c +++ b/modules_k/uac/uac_reg.c @@ -628,7 +628,7 @@ void uac_reg_tm_callback( struct cell *t, int type, struct tmcb_params *ps) }
done: - ri->flags &= ~UAC_REG_ONGOING; + if(ri) ri->flags &= ~UAC_REG_ONGOING; shm_free(uuid); }