1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixes from valgrind

This commit is contained in:
Brian Fiete 2022-03-18 18:06:14 -07:00
parent 0feaaded22
commit 676e7988fb
31 changed files with 243 additions and 147 deletions

View file

@ -2007,7 +2007,7 @@ public:
~BfTypeInstance();
void Dispose();
virtual void Dispose();
void ReleaseData();
virtual bool IsInstanceOf(BfTypeDef* typeDef) override { if (typeDef == NULL) return false; return typeDef->GetDefinition() == mTypeDef->GetDefinition(); }
@ -2245,6 +2245,7 @@ public:
}
~BfDelegateType();
virtual void Dispose() override;
virtual bool IsOnDemand() override { return true; }
virtual bool IsDelegate() override { return mTypeDef->mIsDelegate; }
@ -2277,6 +2278,7 @@ public:
~BfTupleType();
void Init(BfProject* bfProject, BfTypeInstance* valueTypeInstance);
virtual void Dispose() override;
BfFieldDef* AddField(const StringImpl& name);
void Finish();