Skip to content

Commit eb65fce

Browse files
committed
Add missing free to test
1 parent 1e09ffc commit eb65fce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test-e2e/AtomicRef/work_item_scope.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ int main() {
5050
});
5151
q.wait_and_throw();
5252

53+
sycl::free(data, q);
54+
5355
} catch (sycl::exception e) {
5456
std::cerr << "SYCL exception caught! : " << e.what() << "\n";
5557
return 1;

0 commit comments

Comments
 (0)