Fix all memory leaks in RGBLINK

At least all that were reported in the tests.
Partial fix for #709, that only leaves RGBASM to be fixed... oh boy!
This commit is contained in:
ISSOtm
2021-05-03 12:43:41 +02:00
parent 8bbafb7200
commit 60b85298a9
4 changed files with 29 additions and 33 deletions

View File

@@ -478,6 +478,8 @@ void patch_CheckAssertions(struct Assertion *assert)
}
struct Assertion *next = assert->next;
free(assert->patch.rpnExpression);
free(assert->message);
free(assert);
assert = next;
}