From 01f3f894fc180060ef8ee1c8b4acb4421d12ebe3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sun, 2 Dec 2018 12:45:53 -0800 Subject: vcl: cleanup children that use _exit() Change-Id: Ia56c2698adb0ea7811203844dc4db10e121fbc42 Signed-off-by: Florin Coras --- src/vnet/session/application.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/session/application.c') diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index f3628966ae5..01dc818216d 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -94,6 +94,8 @@ app_worker_map_free (application_t * app, app_worker_map_t * map) static app_worker_map_t * app_worker_map_get (application_t * app, u32 map_index) { + if (pool_is_free_index (app->worker_maps, map_index)) + return 0; return pool_elt_at_index (app->worker_maps, map_index); } -- cgit 1.2.3-korg