Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
7611d5d
)
vppinfra: fix typo in tw_timer_template.c
66/24766/2
author
Dave Barach
<dave@barachs.net>
Mon, 3 Feb 2020 16:57:41 +0000
(11:57 -0500)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Wed, 5 Feb 2020 08:34:18 +0000
(08:34 +0000)
Fix minor memory leak
Type: fix
Ticket: VPP-1833
Fixes:
4af9ba1dab
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Id10fba70471ca78f73f14146054f6b12c5d4431f
src/vppinfra/tw_timer_template.c
patch
|
blob
|
history
diff --git
a/src/vppinfra/tw_timer_template.c
b/src/vppinfra/tw_timer_template.c
index
9ad7462
..
07e300f
100644
(file)
--- 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_VEC
V
OR > 0
+#if TW_OVERFLOW_VEC
T
OR > 0
ts = &tw->overflow;
head = pool_elt_at_index (tw->timers, ts->head_index);
next_index = head->next;
ts = &tw->overflow;
head = pool_elt_at_index (tw->timers, ts->head_index);
next_index = head->next;