From b3e0e29f8aa33dfa984252e334d1b9320c23bd63 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 Jan 2008 23:21:01 +0000 Subject: [PATCH] fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7290 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ffb27a8819..cbf7857240 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -424,7 +424,9 @@ static conference_member_t *conference_member_get(conference_obj_t * conference, conference_member_t *member = NULL; switch_assert(conference != NULL); - switch_assert(id != 0); + if (!id) { + return NULL; + } switch_mutex_lock(conference->member_mutex); for (member = conference->members; member; member = member->next) {