Fix tab-completion coverity issue
Change-Id: I051d015e7eee621dbef273b2c57449ea4c44b768 Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
521202b445
commit
4227eefcd4
@@ -333,7 +333,8 @@ done:
|
||||
clib_bitmap_free (match_bitmap);
|
||||
unformat_free (&input);
|
||||
|
||||
vec_sort_with_function (result, vlib_cli_cmp_strings);
|
||||
if (result)
|
||||
vec_sort_with_function (result, vlib_cli_cmp_strings);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user