mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user