CID:1224272 Dereference after null check. member can not actually be NULL in any of the scenarios calling this function

This commit is contained in:
Michael Jerris 2014-07-09 14:32:38 -04:00
parent 68a8bb7fff
commit f2887fb89e
1 changed files with 1 additions and 1 deletions

View File

@ -5550,7 +5550,7 @@ static switch_status_t conference_member_play_file(conference_member_t *member,
/* Say some thing with TTS in the conference room */
static switch_status_t conference_member_say(conference_member_t *member, char *text, uint32_t leadin)
{
conference_obj_t *conference = (member != NULL ? member->conference : NULL);
conference_obj_t *conference = member->conference;
conference_file_node_t *fnode, *nptr;
switch_memory_pool_t *pool;
switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_NONE;