session: use safe realloc for pools
[vpp.git] / src / vnet / session / session_cli.c
index 24d8cfb..2003f0a 100644 (file)
@@ -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;