From 3b660a06e5715404d879545c1628fbee20d1c6ee Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 14 Sep 2012 17:07:49 -0500 Subject: [PATCH] fix small leak in var arrays --- src/switch_event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_event.c b/src/switch_event.c index fdb397de01..3a02e3a449 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -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; }