forked from github/server
segmentation fault caused by free'ing battles twice
This commit is contained in:
parent
f7205251a3
commit
b4e13b7cbd
|
@ -4272,7 +4272,6 @@ void do_battle(region * r)
|
|||
message_all(b, m);
|
||||
msg_release(m);
|
||||
free_battle(b);
|
||||
free(b);
|
||||
return;
|
||||
}
|
||||
join_allies(b);
|
||||
|
@ -4319,7 +4318,6 @@ void do_battle(region * r)
|
|||
|
||||
if (b) {
|
||||
free_battle(b);
|
||||
free(b);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_BUILD 692
|
||||
#define VERSION_BUILD 693
|
||||
|
|
Loading…
Reference in New Issue