2
0

v3: added free for ihipModuleSymbol_t structures inside tracker

Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff


[ROCm/hip commit: d03fe5a40d]
Este cometimento está contido em:
Aditya Atluri
2017-02-10 13:42:10 -06:00
ascendente 37e317ddb4
cometimento 8ca5a81ee1
+3
Ver ficheiro
@@ -218,6 +218,9 @@ hipError_t hipModuleUnload(hipModule_t hmod)
{
ret = hipErrorInvalidValue;
}
for(std::list<hipFunction_t>::iterator f = hmod->funcTrack.begin(); f != hmod->funcTrack.end(); ++f) {
delete *f;
}
delete hmod;
return ihipLogStatus(ret);
}