summaryrefslogtreecommitdiffstats
path: root/src/plugins/map
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2019-12-04 11:46:52 -0600
committerNeale Ranns <nranns@cisco.com>2019-12-04 21:11:49 +0000
commit3aae3dc7acddbe2f46de785b50c3358b7d3e0acc (patch)
tree3668034b453043944fc5da830282553407fb01e4 /src/plugins/map
parentf0797d130f82f751c1657e40e203eeb26f7aa3da (diff)
map: Fix a coverity MAP dead-code issue.
Type: fix Change-Id: I5467bbe3b25b1ea3fb44157abe6e7bfb3f191e77 Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/plugins/map')
-rw-r--r--src/plugins/map/map.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/map/map.c b/src/plugins/map/map.c
index a8288a52dd3..bc9b3df50ba 100644
--- a/src/plugins/map/map.c
+++ b/src/plugins/map/map.c
@@ -97,9 +97,6 @@ map_free_extras (u32 map_domain_index)
return;
de = vec_elt_at_index (mm->domain_extras, map_domain_index);
- if (!de)
- return;
-
vec_free (de->tag);
}