aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/feature
diff options
context:
space:
mode:
authorBilly McFall <bmcfall@redhat.com>2017-03-01 17:01:06 -0500
committerDave Barach <openvpp@barachs.net>2017-03-02 12:16:36 +0000
commit614c13161815c2de21c4679cb217da1ebc4fdb76 (patch)
tree0e28e0957a91f1b7b14dd784d1766d6c5b87c66d /src/vnet/feature
parent738844871220f853629504f61c248f0c9402dc77 (diff)
VPP-648: CLI Memory leak with invalid parameter
After VPP-635 was merged, did one more pass. While the code was waiting to be merged, a few changes were merged to master with the same issue. This is a few additional changes addressing the same issue. See VPP-635. Change-Id: I7abeac5c260c1e2e9d9d318fd1aae24cd6932efc Signed-off-by: Billy McFall <bmcfall@redhat.com>
Diffstat (limited to 'src/vnet/feature')
-rw-r--r--src/vnet/feature/feature.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/feature/feature.c b/src/vnet/feature/feature.c
index 032fe784ace..80ef08d04a1 100644
--- a/src/vnet/feature/feature.c
+++ b/src/vnet/feature/feature.c
@@ -434,6 +434,7 @@ set_interface_features_command_fn (vlib_main_t * vm,
done:
vec_free (feature_name);
vec_free (arc_name);
+ unformat_free (line_input);
return error;
}