Fix few memory leaks in HIP (#1969)

[ROCm/hip commit: f1b028b93e]
Tá an tiomantas seo le fáil i:
Sarbojit2019 údaraithe agus GitHub tiomanta 2020-03-27 14:08:30 +05:30
1 tuismitheoir 32a9b2f2bb
tiomantas 1909e436cf
7 comhad athraithe
+15 -18

Níor tháinig aon chomhaid le do chuardach

@@ -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);
}