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;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
id = strdup(cmd);
|
|
||||||
if ((p = strchr(id, '@'))) {
|
if ((p = strchr(id, '@'))) {
|
||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
domain = e = p;
|
domain = e = p;
|
||||||
|
|
Loading…
Reference in New Issue