Merge pull request #16677 from donaldsharp/mgmt_map

mgmtd: Ensure map is NULL
This commit is contained in:
Jafar Al-Gharaibeh 2024-08-28 12:38:11 -04:00 committed by GitHub
commit 04b763bcec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,6 +249,8 @@ static void mgmt_register_client_xpath(enum mgmt_be_client_id id,
{
struct mgmt_be_xpath_map **maps, *map;
maps = NULL;
switch (type) {
case MGMT_BE_XPATH_SUBSCR_TYPE_CFG:
maps = &be_cfg_xpath_map;