Fix few memory leaks in HIP (#1969)

Tento commit je obsažen v:
Sarbojit2019
2020-03-27 14:08:30 +05:30
odevzdal GitHub
rodič 2449e0de8b
revize 4a68ab5a8c
7 změnil soubory, kde provedl 15 přidání a 18 odebrání
+2 -2
Zobrazit soubor
@@ -154,8 +154,8 @@ int main() {
hipFree(Ad);
hipFree(Bd);
delete A;
delete B;
delete[] A;
delete[] B;
hipCtxDestroy(context);
return 0;
}