mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 23:53:28 +00:00
zebra: remove null check before XFREE in GR code
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
a093ad8569
commit
294a0baea4
@ -468,9 +468,7 @@ static int32_t zebra_gr_route_stale_delete_timer_expiry(struct thread *thread)
|
|||||||
LOG_GR("%s: Client %s all starle routes processed", __func__,
|
LOG_GR("%s: Client %s all starle routes processed", __func__,
|
||||||
zebra_route_string(client->proto));
|
zebra_route_string(client->proto));
|
||||||
|
|
||||||
if (info->current_prefix != NULL)
|
XFREE(MTYPE_TMP, info->current_prefix);
|
||||||
XFREE(MTYPE_TMP, info->current_prefix);
|
|
||||||
info->current_prefix = NULL;
|
|
||||||
info->current_afi = 0;
|
info->current_afi = 0;
|
||||||
zebra_gr_delete_stale_client(info);
|
zebra_gr_delete_stale_client(info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user