From f5179c71449792a059be2b753f4c43ba8c438d71 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 11 Nov 2016 17:27:51 -0500 Subject: Clean up coverity warnings, VPP-486 Change-Id: I709e7cf0bb52d8e6cdc9ddb3b7648660204aa3bd Signed-off-by: Dave Barach --- vlib-api/vlibapi/api_shared.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vlib-api/vlibapi/api_shared.c') diff --git a/vlib-api/vlibapi/api_shared.c b/vlib-api/vlibapi/api_shared.c index c133922c..511f6938 100644 --- a/vlib-api/vlibapi/api_shared.c +++ b/vlib-api/vlibapi/api_shared.c @@ -896,6 +896,7 @@ vl_msg_api_process_file (vlib_main_t * vm, u8 * filename, || (am->msg_endian_handlers[msg_id] == 0)) { vlib_cli_output (vm, "Ugh: msg id %d no endian swap\n", msg_id); + munmap (hp, file_size); return; } endian_fp = am->msg_endian_handlers[msg_id]; -- cgit 1.2.3-korg