SWDEV-431399 - fix first set of memory leaks in clr, found in rtc tests
change constexpr variable names to match the C++ style we follow. Change-Id: Ibc59a65d8ff2ca765da7bf5e653c0650fb3714c4
Cette révision appartient à :
1 Parent
f6e0f2613c
révision
ce27581465
4 fichiers modifiés
+31
-26
Aucun fichier ne correspond à votre recherche
@@ -535,8 +535,9 @@ bool extractByteCodeBinary(const amd_comgr_data_set_t inDataSet,
|
||||
|
||||
amd::Comgr::release_data(binaryData);
|
||||
|
||||
bin.reserve(binarySize);
|
||||
bin.assign(binary, binary + binarySize);
|
||||
std::vector<char> temp_bin;
|
||||
temp_bin.assign(binary, binary + binarySize);
|
||||
bin = temp_bin;
|
||||
delete[] binary;
|
||||
|
||||
return true;
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur