progress
This commit is contained in:
@@ -5,7 +5,7 @@ void _GroundFreeFunction(GroundFunction* in) {
|
||||
Ground.Free.Program(in->program.ground);
|
||||
free(in->program.ground);
|
||||
|
||||
for (size_t i = 0; i < in->args.count; i++) {
|
||||
for (GroundSize i = 0; i < in->args.count; i++) {
|
||||
free(in->args.at[i].as.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../../include/ground.h"
|
||||
|
||||
void _GroundFreeInstruction(GroundInstruction* in) {
|
||||
for (size_t i = 0; i < in->args.len; i++) {
|
||||
for (GroundSize i = 0; i < in->args.len; i++) {
|
||||
Ground.Free.Arg(&in->args.at[i]);
|
||||
}
|
||||
free(in->args.at);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../../include/ground.h"
|
||||
|
||||
void _GroundFreeProgram(GroundProgram* in) {
|
||||
for (size_t i = 0; i < in->len; i++) {
|
||||
for (GroundSize i = 0; i < in->len; i++) {
|
||||
Ground.Free.Instruction(&in->at[i]);
|
||||
}
|
||||
free(in->at);
|
||||
|
||||
Reference in New Issue
Block a user