--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2009-10-08 15:07:12 UTC (rev 15116)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2009-10-08 15:29:06 UTC (rev 15117)
@@ -1358,7 +1358,7 @@
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: