mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 07:37:54 +00:00
lib: do not test before XFREE
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
67c5e28cb9
commit
ff51421e80
@ -243,9 +243,7 @@ static int lib_route_map_entry_description_destroy(enum nb_event event,
|
||||
break;
|
||||
case NB_EV_APPLY:
|
||||
rmi = nb_running_get_entry(dnode, NULL, true);
|
||||
if (rmi->description != NULL)
|
||||
XFREE(MTYPE_TMP, rmi->description);
|
||||
rmi->description = NULL;
|
||||
XFREE(MTYPE_TMP, rmi->description);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user