From f87a53716eaf884ca1c1885c62b61e4368c86fe8 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 8 Oct 2009 15:29:06 +0000 Subject: [PATCH] MODEVENT-58 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15117 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 66e5180d66..471837bd8c 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1358,7 +1358,7 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h sofia_reg_handle_register(nua, profile, nh, sip, type, key, sizeof(key), &v_event, is_nat); if (v_event) { - switch_event_fire(&v_event); + switch_event_destroy(&v_event); } end: