From d28bac409409ea821cd9ce2ec4f84a7786cbcb73 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 3 Feb 2020 11:57:41 -0500 Subject: [PATCH] vppinfra: fix typo in tw_timer_template.c Fix minor memory leak Type: fix Ticket: VPP-1833 Fixes: 4af9ba1dab Signed-off-by: Dave Barach Change-Id: Id10fba70471ca78f73f14146054f6b12c5d4431f --- src/vppinfra/tw_timer_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vppinfra/tw_timer_template.c b/src/vppinfra/tw_timer_template.c index 9ad74624521..07e300f5eac 100644 --- a/src/vppinfra/tw_timer_template.c +++ b/src/vppinfra/tw_timer_template.c @@ -476,7 +476,7 @@ void TW (tw_timer_wheel_free) (TWT (tw_timer_wheel) * tw) } } -#if TW_OVERFLOW_VECVOR > 0 +#if TW_OVERFLOW_VECTOR > 0 ts = &tw->overflow; head = pool_elt_at_index (tw->timers, ts->head_index); next_index = head->next;