diff options
author | 2018-06-01 09:09:08 +0200 | |
---|---|---|
committer | 2018-06-01 09:12:07 +0200 | |
commit | 1bd9b61222f3a81ffe770fc00b70ded6e760c42b (patch) | |
tree | 0bf7d996cf0664796687c1be6d22958fcf6a8096 /drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c | |
parent | bb4e158029645f37809fcf81a3acddd6fa11f88a (diff) |
New upstream version 18.05
Change-Id: Icd4170ddc4f63aeae5d0559490e5195b5349f9c2
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c')
-rw-r--r-- | drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c index 795f24bc..3eb5c3a7 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; } @@ -379,8 +380,6 @@ test_rawdev_enqdeq(void) cleanup: if (buffers[0].buf_addr) free(buffers[0].buf_addr); - if (deq_buffers) - free(deq_buffers); return TEST_FAILED; } |