From 7baff2ca6fbdbea6e8b8542b4037a99cf97aae04 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sat, 14 Dec 2024 20:54:33 -0500 Subject: [PATCH] mgmtd: fix memory leak in FE adapter Signed-off-by: Christian Hopps --- mgmtd/mgmt_fe_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgmtd/mgmt_fe_adapter.c b/mgmtd/mgmt_fe_adapter.c index 32f28a5774c5..7f7a5d9a8e91 100644 --- a/mgmtd/mgmt_fe_adapter.c +++ b/mgmtd/mgmt_fe_adapter.c @@ -190,7 +190,7 @@ static void mgmt_fe_cleanup_session(struct mgmt_fe_session_ctx **sessionp) assert(session->adapter->refcount > 1); mgmt_fe_adapter_unlock(&session->adapter); } - + darr_free_free(session->notify_xpaths); hash_release(mgmt_fe_sessions, session); XFREE(MTYPE_MGMTD_FE_SESSION, session); *sessionp = NULL;