fix small leak in var arrays

This commit is contained in:
Anthony Minessale 2012-09-14 17:07:49 -05:00
parent 84bace0701
commit 3b660a06e5
1 changed files with 1 additions and 0 deletions

View File

@ -1022,6 +1022,7 @@ static switch_status_t switch_event_base_add_header(switch_event_t *event, switc
}
} else {
switch_safe_free(header->value);
header->value = data;
}