forked from Mirrors/freeswitch
doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9247 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
468a3c6fe9
commit
db4ae66fde
@ -1633,7 +1633,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
|
||||
nv = 0;
|
||||
olen = strlen(in) + 1;
|
||||
indup = strdup(in);
|
||||
endof_indup = end_of_p(indup);
|
||||
endof_indup = end_of_p(indup) + 1;
|
||||
|
||||
if ((data = malloc(olen))) {
|
||||
memset(data, 0, olen);
|
||||
|
@ -1219,7 +1219,7 @@ SWITCH_DECLARE(char *) switch_event_expand_headers(switch_event_t *event, const
|
||||
nv = 0;
|
||||
olen = strlen(in) + 1;
|
||||
indup = strdup(in);
|
||||
endof_indup = end_of_p(indup);
|
||||
endof_indup = end_of_p(indup) + 1;
|
||||
|
||||
if ((data = malloc(olen))) {
|
||||
memset(data, 0, olen);
|
||||
|
Loading…
Reference in New Issue
Block a user