aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/gamedb.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 66bc574..a0de48f 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -130,15 +130,18 @@ PUBLIC int game_zero(int g)
return 0;
}
-PUBLIC int game_free(int g)
+PUBLIC int
+game_free(int g)
{
- if (garray[g].moveListSize)
- rfree(garray[g].moveList);
- if (garray[g].examMoveListSize)
- rfree(garray[g].examMoveList);
- garray[g].moveListSize = 0;
- garray[g].examMoveListSize = 0;
- return 0;
+ if (garray[g].moveListSize)
+ rfree(garray[g].moveList);
+ if (garray[g].examMoveListSize)
+ rfree(garray[g].examMoveList);
+
+ garray[g].moveListSize = 0;
+ garray[g].examMoveListSize = 0;
+
+ return 0;
}
PUBLIC int