Fix few memory leaks in HIP (#1969)

[ROCm/hip commit: f1b028b93e]
This commit is contained in:
Sarbojit2019 authored and GitHub committed 2020-03-27 14:08:30 +05:30
1 parent 32a9b2f2bb
commit 1909e436cf
7 files changed
+15 -18

No files matched your search

@@ -107,8 +107,8 @@ void run(const std::vector<char>& buffer) {
hipFree(Ad);
hipFree(Bd);
delete A;
delete B;
delete[] A;
delete[] B;
hipCtxDestroy(context);
}