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
This commit is contained in:
Dave Barach
committed by
Andrew Yourtchenko
parent
7611d5d9e7
commit
a4eac3fb0a
@ -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;
|
ts = &tw->overflow;
|
||||||
head = pool_elt_at_index (tw->timers, ts->head_index);
|
head = pool_elt_at_index (tw->timers, ts->head_index);
|
||||||
next_index = head->next;
|
next_index = head->next;
|
||||||
|
Reference in New Issue
Block a user