diff options
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/elog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/elog.c b/src/vppinfra/elog.c index 089c2509f71..b3b2fa9a25d 100644 --- a/src/vppinfra/elog.c +++ b/src/vppinfra/elog.c @@ -614,7 +614,7 @@ elog_string (elog_main_t * em, char *fmt, ...) elog_event_t * elog_get_events (elog_main_t * em) { - vec_reset_length (em->events); + vec_free (em->events); em->events = elog_peek_events (em); return em->events; } |