From f2887fb89e8e514ff3b1e9d98e815e21d2960087 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 9 Jul 2014 14:32:38 -0400 Subject: [PATCH] CID:1224272 Dereference after null check. member can not actually be NULL in any of the scenarios calling this function --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 65e633b40e..6ce838f352 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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;