From: Travis Cross Date: Wed, 9 Apr 2014 07:35:15 +0000 (+0000) Subject: Improve comment X-Git-Tag: v1.5.12~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b8f3e0a83e92280111b2c4e115ed6349de1a7f;p=thirdparty%2Ffreeswitch.git Improve comment --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index cf8aea23d4..ea1d694e87 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -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"); status = switch_ivr_phrase_macro(session, name, odata, chan_lang, args); } else if (!strcasecmp(func, "break")) { - done = 1; - /* must allow the switch_safe_free below to execute or we leak - do not break here */ + done = 1; /* don't break or we leak memory */ } else if (!strcasecmp(func, "execute")) { switch_application_interface_t *app; char *cmd, *cmd_args;