diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-02-05 01:49:08 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 01:49:08 -0300 |
| commit | ecaeb3b697bfcd46fe4ee7a519fdebb69c7318f9 (patch) | |
| tree | d631ffc455be41355b1f6f763958a4cfbcf4a5d5 /zebra/zebra_rib.c | |
| parent | 8f6ebcbeb2455855a0e9dd2946d48e8db23f7192 (diff) | |
| parent | e1b36e132b7eda2d230f2f95945e231df37a42f5 (diff) | |
Merge pull request #5750 from qlyoung/fix-null-after-xfree
*: don't null after XFREE; XFREE does this itself
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) |
