summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-06-20 11:53:33 +0200
committerOle Troan <ot@cisco.com>2019-06-20 11:53:33 +0200
commitff55c816c966bdd6928c22ee764358c0a61436dc (patch)
tree9cdc7c87a6e54f0e888ffe1233d3ee98c751f5f5
parent2f5fd365e0e29456b87de91ecbf2bf86c16386bf (diff)
vat: vec_free/errmsh copy paste error
Change-Id: I808ae95666b82f04979b57cfe237a8f83bb68264 Type: fix Fixes: 283cd2e9af Signed-off-by: Ole Troan <ot@cisco.com>
-rw-r--r--src/vat/api_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index f107246774c..3c0b0f9570a 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -1352,9 +1352,8 @@ static void vl_api_show_version_reply_t_handler
p +=
vl_api_string_len ((vl_api_string_t *) p) + sizeof (vl_api_string_t);
s = vl_api_from_api_to_vec ((vl_api_string_t *) p);
- vec_free (s);
-
errmsg ("build directory: %v\n", s);
+ vec_free (s);
}
vam->retval = retval;
vam->result_ready = 1;