diff options
author | Florin Coras <fcoras@cisco.com> | 2021-02-26 19:19:11 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-02-28 01:34:40 +0000 |
commit | f1af21c9d7c2d4f4e138b5dd0dd40e7f881b46ae (patch) | |
tree | d69cf08bd225caf75df617d50538a5174e27a912 /src/vnet/session/segment_manager.c | |
parent | 3ec024c2d259ad6423dcc83da01d782acf6b7046 (diff) |
session svm: segment manager and fifo segment leaks
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4e00dd7f8ce1e56092dde9a073decae62d5475de
Diffstat (limited to 'src/vnet/session/segment_manager.c')
-rw-r--r-- | src/vnet/session/segment_manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c index ffac4e0bc26..560560c8d64 100644 --- a/src/vnet/session/segment_manager.c +++ b/src/vnet/session/segment_manager.c @@ -466,6 +466,7 @@ segment_manager_free (segment_manager_t * sm) } /* *INDENT-ON* */ + pool_free (sm->segments); clib_rwlock_writer_unlock (&sm->segments_rwlock); clib_rwlock_free (&sm->segments_rwlock); @@ -611,6 +612,7 @@ segment_manager_del_sessions (segment_manager_t * sm) /* Avoid propagating notifications back to the app */ session->app_wrk_index = APP_INVALID_INDEX; } + vec_free (handles); } int |