summaryrefslogtreecommitdiffstats
path: root/src/vat/api_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat/api_format.c')
-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;