Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now.

This commit is contained in:
William King committed 2013-05-18 20:15:55 -07:00
1 parent 9ace496fe3
commit e2ea6e58c8
2 files changed
+3 -5

No files matched your search

-4
View File
@@ -388,10 +388,6 @@ ESL_DECLARE(int) esl_event_add_array(esl_event_t *event, const char *var, const
p += 2;
}
if (!max) {
return -2;
}
data = strdup(val + 7);
len = (sizeof(char *) * max) + 1;