Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit dca851d

Browse files
committed
Fix for memory leak detected in hipModule*load [SWDEV:250740]
Change-Id: I8c4930b64764620a896079b14b27f6f87fbad292
1 parent 0c9f668 commit dca851d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

device/devprogram.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,7 @@ bool Program::getSymbolsFromCodeObj(std::vector<std::string>* var_names, amd_com
25562556
ret_val = false;
25572557
break;
25582558
}
2559+
amd::Comgr::release_data(dataObject);
25592560
} while (0);
25602561

25612562
return ret_val;

0 commit comments

Comments
 (0)