From 3aae3dc7acddbe2f46de785b50c3358b7d3e0acc Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Wed, 4 Dec 2019 11:46:52 -0600 Subject: map: Fix a coverity MAP dead-code issue. Type: fix Change-Id: I5467bbe3b25b1ea3fb44157abe6e7bfb3f191e77 Signed-off-by: Jon Loeliger --- src/plugins/map/map.c | 3 --- 1 file changed, 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); } -- cgit 1.2.3-korg