aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c
index ad4d447c543..cfa97190bf9 100644
--- a/src/vnet/session/application.c
+++ b/src/vnet/session/application.c
@@ -189,6 +189,7 @@ app_listener_alloc_and_init (application_t * app,
{
ls = session_get_from_handle (lh);
session_free (ls);
+ app_listener_free (app, app_listener);
return rv;
}
@@ -223,6 +224,7 @@ app_listener_alloc_and_init (application_t * app,
{
ls = listen_session_get_from_handle (lh);
session_free (ls);
+ app_listener_free (app, app_listener);
return rv;
}
ls = listen_session_get_from_handle (lh);