v3: added free for ihipModuleSymbol_t structures inside tracker

Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff


[ROCm/hip commit: d03fe5a40d]
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2017-02-10 13:42:10 -06:00
1 tuismitheoir 37e317ddb4
tiomantas 8ca5a81ee1
1 comhad athraithe
+3
+3
Féach ar an gComhad
@@ -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);
}