Skip to content

Commit dbc0272

Browse files
authored
[SYCL][Graph] Fix memory leaks in new graph tests (#12507)
Fix memory leaks in newly added graph tests in #12433. Signed-off-by: Marcos Maronas <[email protected]>
1 parent 5e452ba commit dbc0272

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sycl/test-e2e/Graph/RecordReplay/in_order_queue_with_host_managed_dependencies_memcpy.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ int main() {
5757
}
5858

5959
sycl::free(TestData, Queue);
60+
sycl::free(TestDataOut, Queue);
6061

6162
return 0;
6263
}

sycl/test-e2e/Graph/RecordReplay/in_order_queue_with_host_managed_dependencies_memset.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ int main() {
5555
}
5656

5757
sycl::free(TestData, Queue);
58+
sycl::free(TestDataOut, Queue);
5859

5960
return 0;
6061
}

0 commit comments

Comments
 (0)