Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
f0797d1
)
map: Fix a coverity MAP dead-code issue.
97/23797/2
author
Jon Loeliger
<jdl@netgate.com>
Wed, 4 Dec 2019 17:46:52 +0000
(11:46 -0600)
committer
Neale Ranns
<nranns@cisco.com>
Wed, 4 Dec 2019 21:11:49 +0000
(21:11 +0000)
Type: fix
Change-Id: I5467bbe3b25b1ea3fb44157abe6e7bfb3f191e77
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/plugins/map/map.c
patch
|
blob
|
history
diff --git
a/src/plugins/map/map.c
b/src/plugins/map/map.c
index
a8288a5
..
bc9b3df
100644
(file)
--- 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);
return;
de = vec_elt_at_index (mm->domain_extras, map_domain_index);
- if (!de)
- return;
-
vec_free (de->tag);
}
vec_free (de->tag);
}