mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
CID:1214212 Resource leak in voicemail_list
This commit is contained in:
parent
4e888a282c
commit
1b0bdaf85e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user