Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit ff52f2b

Browse files
authored
fixed memory leak (#585)
Signed-off-by: Byoungro So <[email protected]>
1 parent 6bd2803 commit ff52f2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SYCL/Basic/get_backend.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ int main() {
6262
if (e.get_backend() != plt.get_backend()) {
6363
return_fail();
6464
}
65+
free(HostAlloc, c);
6566
}
6667
}
6768
std::cout << "Passed" << std::endl;

0 commit comments

Comments
 (0)