summaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-02-03 11:57:41 -0500
committerDave Barach <dave@barachs.net>2020-02-03 11:58:05 -0500
commit0f966736833b4a1658f02a28c2ff585dd0ae90a7 (patch)
tree406b854dae2ab6f92d895f8143e0f00f6f499b87 /src/vppinfra
parentf4a92f6a1cf6b27318b6819ad3145b4020a27779 (diff)
vppinfra: fix typo in tw_timer_template.c
Fix minor memory leak Type: fix Ticket: VPP-1833 Fixes: 4af9ba1dab Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Id10fba70471ca78f73f14146054f6b12c5d4431f
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/tw_timer_template.c2
1 files changed, 1 insertions, 1 deletions
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;