summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/application_interface.c')
-rw-r--r--src/vnet/session/application_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application_interface.c b/src/vnet/session/application_interface.c
index 89f74621aa9..3cd8c2f5eb3 100644
--- a/src/vnet/session/application_interface.c
+++ b/src/vnet/session/application_interface.c
@@ -554,7 +554,7 @@ vnet_application_detach (vnet_app_detach_args_t * a)
}
app_interface_check_thread_and_barrier (vnet_application_detach, a);
- application_free (app);
+ application_detach_process (app, a->api_client_index);
return 0;
}