From 7cd675c2b8dc8d8f100e470693e398e8e6ea100e Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Wed, 9 May 2018 20:56:08 +0530 Subject: [PATCH] raw/skeleton: fix resource leak in test Coverity issue: 260402 Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases") Cc: stable@dpdk.org Signed-off-by: Shreyansh Jain --- drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c index 795f24bcb1..7ad8f19ce2 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c @@ -288,6 +288,7 @@ test_rawdev_attr_set_get(void) "Attribute (Test2) not set correctly (%" PRIu64 ")", ret_value); + free(dummy_value); return TEST_SUCCESS; } -- 2.20.1