session: remove app from name table on free 24/43924/2
authorFlorin Coras <[email protected]>
Wed, 22 Oct 2025 17:35:34 +0000 (13:35 -0400)
committerFlorin Coras <[email protected]>
Wed, 22 Oct 2025 20:29:32 +0000 (20:29 +0000)
Type: fix

Change-Id: Icaffae47e5ca96959d3830fa7689b932faf240c9
Signed-off-by: Florin Coras <[email protected]>
src/vnet/session/application.c

index 24045c5..52a89d5 100644 (file)
@@ -928,7 +928,7 @@ application_free (application_t * app)
   /*
    * Cleanup remaining state
    */
-  if (application_is_builtin (app))
+  if (app->name)
     application_name_table_del (app);
 
   hash_free (app->evt_collector_session_filter);