From: Brian West Date: Thu, 8 Oct 2009 15:29:06 +0000 (+0000) Subject: MODEVENT-58 X-Git-Tag: v1.0.6~1702 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f87a53716eaf884ca1c1885c62b61e4368c86fe8;p=thirdparty%2Ffreeswitch.git MODEVENT-58 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15117 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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: