summaryrefslogtreecommitdiffstats
path: root/mgmtd
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-12-24 19:35:32 +0100
committerGitHub <noreply@github.com>2024-12-24 19:35:32 +0100
commit803ff41cc45a3653f21590376ed202e93616aa33 (patch)
treec6d07944281debb4bf22d5ed7e77054b2f38c099 /mgmtd
parentMerge pull request #17580 from varuntumbe/dev/label_pool_release_fix (diff)
parentmgmtd: fix memory leak in FE adapter (diff)
downloadfrr-803ff41cc45a3653f21590376ed202e93616aa33.tar.xz
frr-803ff41cc45a3653f21590376ed202e93616aa33.zip
Merge pull request #17647 from LabNConsulting/fix-oper-test
tests: enable test failure detection and fix resulting failures
Diffstat (limited to 'mgmtd')
-rw-r--r--mgmtd/mgmt_fe_adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgmtd/mgmt_fe_adapter.c b/mgmtd/mgmt_fe_adapter.c
index 32f28a577..7f7a5d9a8 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;