mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
fix windows code analysis problems
This commit is contained in:
1 parent
3aff2bdcbc
commit
55c24567bd
3 files changed
+5
-2
No files matched your search
@@ -1053,6 +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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user