From 1b0bdaf85ef98b49a519d735828123d589922d83 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 15 May 2014 14:11:39 +0000 Subject: [PATCH] CID:1214212 Resource leak in voicemail_list --- src/mod/applications/mod_voicemail/mod_voicemail.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 49ff5d6843..423f293a8b 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -4799,7 +4799,6 @@ SWITCH_STANDARD_API(voicemail_list_api_function) return SWITCH_STATUS_SUCCESS; } - id = strdup(cmd); if ((p = strchr(id, '@'))) { *p++ = '\0'; domain = e = p;