Skip to content

Commit 864da64

Browse files
committed
fix test
1 parent 250f759 commit 864da64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/layers/sanitizer/asan.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ TEST(DeviceASan, Initialization) {
4141
status = urContextCreate(1, &device, nullptr, &context);
4242
ASSERT_EQ(status, UR_RESULT_SUCCESS);
4343

44+
status = urContextRelease(context);
45+
ASSERT_EQ(status, UR_RESULT_SUCCESS);
46+
4447
status = urDeviceRelease(device);
4548
ASSERT_EQ(status, UR_RESULT_SUCCESS);
4649

0 commit comments

Comments
 (0)