This commit is contained in:
William King 2013-06-12 21:17:04 -07:00
parent 3d13776af2
commit 4fddabe543
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ static switch_status_t handle_msg_sendevent(listener_t *listener, int arity, ei_
} }
/* If the event wasn't successfully fired, or failed for any other reason, then make sure not to leak it. */ /* If the event wasn't successfully fired, or failed for any other reason, then make sure not to leak it. */
if ( event ) { if ( event ) {
switch_event_destroy(&event) switch_event_destroy(&event);
} }
} }
} }