Module: sip-router
Branch: master
Commit: 191cc1d6437a252516d76c6249aa701a5b39b4e4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=191cc1d…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Tue Jul 27 14:06:11 2010 +0200
modules_k/dialog: Move comment regarding dialog-destroying
unreference operation to proper new location.
---
modules_k/dialog/dlg_handlers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/dialog/dlg_handlers.c b/modules_k/dialog/dlg_handlers.c
index 19b53e9..976ac0f 100644
--- a/modules_k/dialog/dlg_handlers.c
+++ b/modules_k/dialog/dlg_handlers.c
@@ -773,6 +773,7 @@ static void unref_dlg_from_cb(struct cell* t, int type, struct
tmcb_params *para
{
struct dlg_cell *dlg = (struct dlg_cell *)(*param->param);
+ /* destroy dialog */
unref_dlg(dlg, 1);
}
@@ -941,7 +942,6 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
if (dlg_db_mode)
remove_dialog_from_db(dlg);
- /* destroy dialog */
unref_dlg(dlg, unref);
if_update_stat( dlg_enable_stats, active_dlgs, -1);