From: Shreyansh Jain Date: Wed, 9 May 2018 15:26:08 +0000 (+0530) Subject: raw/skeleton: fix resource leak in test X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7cd675c2b8dc8d8f100e470693e398e8e6ea100e;p=dpdk.git 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 --- 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; }