mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
nuke tmpModel earlier
This commit is contained in:
parent
500651c1f9
commit
6096d97463
1 changed files with 1 additions and 2 deletions
|
@ -1566,14 +1566,13 @@ model_writeGameHistory( ModelCtxt* model, XWStreamCtxt* stream,
|
|||
|
||||
tmpModel = makeTmpModel( model, stream, printMovePre, printMovePost,
|
||||
&closure );
|
||||
model_destroy( tmpModel );
|
||||
|
||||
if ( gameOver ) {
|
||||
/* if the game's over, it shouldn't matter which model I pass to this
|
||||
method */
|
||||
server_writeFinalScores( server, stream );
|
||||
}
|
||||
|
||||
model_destroy( tmpModel );
|
||||
} /* model_writeGameHistory */
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue