mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed memory leaks
This commit is contained in:
parent
29fbafb91f
commit
2ac6b339b2
4 changed files with 51 additions and 15 deletions
|
@ -1587,7 +1587,8 @@ BfGenericTypeInstance::~BfGenericTypeInstance()
|
|||
{
|
||||
for (auto genericParamInstance : mGenericParams)
|
||||
genericParamInstance->Release();
|
||||
delete mGenericExtensionInfo;
|
||||
if (mGenericExtensionInfo != NULL)
|
||||
delete mGenericExtensionInfo;
|
||||
}
|
||||
|
||||
BfGenericTypeInstance::GenericParamsVector* BfGenericTypeInstance::GetGenericParamsVector(BfTypeDef* declaringTypeDef)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue