summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_cli.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-03-14 21:17:25 -0700
committerFlorin Coras <florin.coras@gmail.com>2022-03-22 15:14:25 +0000
commit6bd8d3fbba74f8f80a0c09f87c6cbfddd054042f (patch)
tree51e5c3c09b6ad5b8dcd2fa77df3fb9a3dc3e7289 /src/vnet/session/session_cli.c
parentb1c0b9afacb12e8255681db25a01b94f25fed89e (diff)
session: use safe realloc for pools
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I313c916d268c4b2b448b93e90bc67da341b803e3
Diffstat (limited to 'src/vnet/session/session_cli.c')
-rw-r--r--src/vnet/session/session_cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index 24d8cfb1e24..2003f0a7788 100644
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -259,7 +259,6 @@ unformat_session (unformat_input_t * input, va_list * args)
if (s)
{
*result = s;
- session_pool_remove_peeker (s->thread_index);
return 1;
}
return 0;