From: Jon Loeliger Date: Wed, 4 Dec 2019 17:46:52 +0000 (-0600) Subject: map: Fix a coverity MAP dead-code issue. X-Git-Tag: v20.05-rc0~270 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=3aae3dc7acddbe2f46de785b50c3358b7d3e0acc map: Fix a coverity MAP dead-code issue. Type: fix Change-Id: I5467bbe3b25b1ea3fb44157abe6e7bfb3f191e77 Signed-off-by: Jon Loeliger --- 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); }