missed one

This commit is contained in:
Mathieu Rene 2011-05-26 10:52:41 -04:00
parent 6648a4c79e
commit ea38df0aed

View File

@ -1053,7 +1053,7 @@ static int add_array(esl_event_t *event, const char *var, const char *val)
data = strdup(val + 7);
len = (sizeof(char *) * max) + 1;
esl_assert(len == 0);
array = malloc(len);
memset(array, 0, len);