raw/skeleton: fix resource leak in test

Coverity issue: 260402
Fixes: 55ca1b0f21 ("raw/skeleton: add test cases")
Cc: stable@dpdk.org

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
This commit is contained in:
Shreyansh Jain 2018-05-09 20:56:08 +05:30 committed by Thomas Monjalon
parent 7c5efbb126
commit 7cd675c2b8

View File

@ -288,6 +288,7 @@ test_rawdev_attr_set_get(void)
"Attribute (Test2) not set correctly (%" PRIu64 ")",
ret_value);
free(dummy_value);
return TEST_SUCCESS;
}