mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
fix refcount leak
This commit is contained in:
parent
fbcd953a3e
commit
4231ed1108
1 changed files with 2 additions and 1 deletions
|
@ -2216,8 +2216,9 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
|
|||
}
|
||||
saveGame( &g_globals.cGlobals );
|
||||
|
||||
game_dispose( &g_globals.cGlobals.game ); /* takes care of the dict */
|
||||
game_dispose( &g_globals.cGlobals.game );
|
||||
gi_disposePlayerInfo( MEMPOOL cGlobals->gi );
|
||||
dict_unref( cGlobals->dict );
|
||||
|
||||
#ifdef XWFEATURE_BLUETOOTH
|
||||
linux_bt_close( &g_globals.cGlobals );
|
||||
|
|
Loading…
Reference in a new issue