fix le memory leak
This commit is contained in:
@@ -38,6 +38,11 @@ void _GroundFreeFunction(GroundFunction* in);
|
||||
void _GroundFreeStruct(GroundStruct* in);
|
||||
void _GroundFreeObject(GroundObject* in);
|
||||
|
||||
void _GroundFreeArg(GroundArg* in);
|
||||
void _GroundFreeInstruction(GroundInstruction* in);
|
||||
void _GroundFreeProgram(GroundProgram* in);
|
||||
void _GroundFreeState(GroundState* in);
|
||||
|
||||
|
||||
GroundValue _GroundCopyValue(GroundValue* in);
|
||||
GroundList _GroundCopyList(GroundList* in);
|
||||
@@ -133,6 +138,11 @@ struct _Ground Ground = {
|
||||
.Function = _GroundFreeFunction,
|
||||
.Struct = _GroundFreeStruct,
|
||||
.Object = _GroundFreeObject,
|
||||
|
||||
.Arg = _GroundFreeArg,
|
||||
.Instruction = _GroundFreeInstruction,
|
||||
.Program = _GroundFreeProgram,
|
||||
.State = _GroundFreeState,
|
||||
},
|
||||
|
||||
.Copy = {
|
||||
|
||||
Reference in New Issue
Block a user