summaryrefslogtreecommitdiff
path: root/drivers/raw
diff options
context:
space:
mode:
authorShreyansh Jain <shreyansh.jain@nxp.com>2018-05-09 20:56:08 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-05-14 01:01:07 +0200
commit7cd675c2b8dc8d8f100e470693e398e8e6ea100e (patch)
tree29ede7f3ceb6be38985e9aa9c29ccb75e67177f6 /drivers/raw
parent7c5efbb12661408966332cb77da2ae8677d115d8 (diff)
downloaddpdk-next-eventdev-7cd675c2b8dc8d8f100e470693e398e8e6ea100e.zip
dpdk-next-eventdev-7cd675c2b8dc8d8f100e470693e398e8e6ea100e.tar.gz
dpdk-next-eventdev-7cd675c2b8dc8d8f100e470693e398e8e6ea100e.tar.xz
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 <shreyansh.jain@nxp.com>
Diffstat (limited to 'drivers/raw')
-rw-r--r--drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c
index 795f24b..7ad8f19 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;
}