~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing quit on error was leading to an assertion failure on some
[sgt/puzzles]
/
midend.c
diff --git
a/midend.c
b/midend.c
index
7ef05cb
..
691c643
100644
(file)
--- a/
midend.c
+++ b/
midend.c
@@
-1350,6
+1350,7
@@
char *midend_deserialise(midend_data *me,
if (key[8] != ':') {
if (started)
ret = "Data was incorrectly formatted for a saved game file";
if (key[8] != ':') {
if (started)
ret = "Data was incorrectly formatted for a saved game file";
+ goto cleanup;
}
len = strcspn(key, ": ");
assert(len <= 8);
}
len = strcspn(key, ": ");
assert(len <= 8);