Improve comment
This commit is contained in:
parent
ffc3f9bb0b
commit
75b8f3e0a8
|
@ -256,8 +256,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
|
||||||
char *name = (char *) switch_xml_attr_soft(action, "phrase");
|
char *name = (char *) switch_xml_attr_soft(action, "phrase");
|
||||||
status = switch_ivr_phrase_macro(session, name, odata, chan_lang, args);
|
status = switch_ivr_phrase_macro(session, name, odata, chan_lang, args);
|
||||||
} else if (!strcasecmp(func, "break")) {
|
} else if (!strcasecmp(func, "break")) {
|
||||||
done = 1;
|
done = 1; /* don't break or we leak memory */
|
||||||
/* must allow the switch_safe_free below to execute or we leak - do not break here */
|
|
||||||
} else if (!strcasecmp(func, "execute")) {
|
} else if (!strcasecmp(func, "execute")) {
|
||||||
switch_application_interface_t *app;
|
switch_application_interface_t *app;
|
||||||
char *cmd, *cmd_args;
|
char *cmd, *cmd_args;
|
||||||
|
|
Loading…
Reference in New Issue