mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-10 17:43:59 +00:00
missed one
This commit is contained in:
parent
6648a4c79e
commit
ea38df0aed
@ -1053,7 +1053,7 @@ static int add_array(esl_event_t *event, const char *var, const char *val)
|
|||||||
data = strdup(val + 7);
|
data = strdup(val + 7);
|
||||||
|
|
||||||
len = (sizeof(char *) * max) + 1;
|
len = (sizeof(char *) * max) + 1;
|
||||||
esl_assert(len == 0);
|
|
||||||
array = malloc(len);
|
array = malloc(len);
|
||||||
memset(array, 0, len);
|
memset(array, 0, len);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user