ref: 5fa193156070873b237e62a7177c2fa55d39508d
parent: 311d227ba6d101cc2c3096eefd4bc795f98303da
author: Ben Harris <bjh21@bjh21.me.uk>
date: Thu Jan 12 05:58:21 EST 2023
Don't leak midends in fuzzpuzz If deserialising a save file fails, the midend still needs to be freed.
--- a/fuzzpuzz.c
+++ b/fuzzpuzz.c
@@ -92,6 +92,7 @@
if (err != NULL) {
fprintf(stderr, "%s\n", err);
ret = 1;
+ midend_free(me);
continue;
}
midend_free(me);