This commit is contained in:
2026-06-20 19:45:52 +10:00
parent b4e481ed9c
commit f97cec4567
17 changed files with 92 additions and 51 deletions

View File

@@ -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);
}
}

View File

@@ -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);

View File

@@ -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);