Skip to content

Commit

Permalink
[SYCL] fix memory leak (intel/llvm-test-suite#646)
Browse files Browse the repository at this point in the history
Signed-off-by: Byoungro So <[email protected]>
  • Loading branch information
bso-intel authored Dec 27, 2021
1 parent ba4217f commit cc1e1df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SYCL/InorderQueue/in_order_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ int main() {
err_cnt++;
}
}
free(A, ctx);
if (err_cnt != 0) {
std::cerr << "Total mismatch = " << err_cnt << std::endl;
return 1;
Expand Down

0 comments on commit cc1e1df

Please sign in to comment.