From ff55c816c966bdd6928c22ee764358c0a61436dc Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 20 Jun 2019 11:53:33 +0200 Subject: vat: vec_free/errmsh copy paste error Change-Id: I808ae95666b82f04979b57cfe237a8f83bb68264 Type: fix Fixes: 283cd2e9af Signed-off-by: Ole Troan --- src/vat/api_format.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; -- cgit 1.2.3-korg