I pulled b1011f7.
It crashes after stopping games,
Following patch works to fix it.
It crashes after stopping games,
Following patch works to fix it.
Code:
--- a/src/monster/mon-init.c
+++ b/src/monster/mon-init.c
@@ -649,11 +649,11 @@ static void cleanup_r(void)
f = fn;
}
while (fb) {
- fb = r->friends_base;
+ if (fb = r->friends_base) {
fbn = fb->next;
mem_free(fb);
fb = fbn;
- }
+ }}
Comment