From 2f9304dcda4884c61a11a8d7b7a3c5d48a9ca9a8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 9 Oct 2012 11:47:33 -0500 Subject: [PATCH] add assert --- src/switch_core_session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index ab8f31059d..e50c5f008e 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -1032,6 +1032,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_private_event(switch_c switch_queue_t *queue; switch_assert(session != NULL); + switch_assert(event != NULL); if (session->private_event_queue) { queue = priority ? session->private_event_queue_pri : session->private_event_queue;