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 /lib/routemap.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 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 14fec0283c..9771288a65 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -2063,7 +2063,6 @@ static int route_map_dep_update(struct hash *dephash, const char *dep_name, hash_free(dep->dep_rmap_hash); XFREE(MTYPE_ROUTE_MAP_NAME, dep->dep_name); XFREE(MTYPE_ROUTE_MAP_DEP, dep); - dep = NULL; } break; case RMAP_EVENT_SET_ADDED: |
