diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 |
| commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
| tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /zebra/zebra_rib.c | |
| parent | 84e1268340b71c605772858dc1b5ebc2d577bf85 (diff) | |
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 051d7f5231..6276a5d8b3 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -3114,8 +3114,6 @@ static struct rib_update_ctx *rib_update_ctx_init(vrf_id_t vrf_id, static void rib_update_ctx_fini(struct rib_update_ctx **ctx) { XFREE(MTYPE_RIB_UPDATE_CTX, *ctx); - - *ctx = NULL; } static int rib_update_handler(struct thread *thread) |
