diff --git a/xwords4/linux/linuxmain.c b/xwords4/linux/linuxmain.c index ce9ff07c6..624eedc7f 100644 --- a/xwords4/linux/linuxmain.c +++ b/xwords4/linux/linuxmain.c @@ -1730,9 +1730,15 @@ initParams( LaunchParams* params ) static void freeParams( LaunchParams* params ) { + XP_U16 ii; // linux_util_vt_destroy( params->util ); vtmgr_destroy( MPPARM(params->mpool) params->vtMgr ); + XP_FREEP( params->mpool, ¶ms->pgi.dictName ); + for ( ii = 0; ii < params->nLocalPlayers; ++ii ) { + XP_FREEP( params->mpool, ¶ms->pgi.players[ii].name ); + } + mpool_destroy( params->mpool ); // free( params->util ); @@ -1798,6 +1804,7 @@ main( int argc, char** argv ) /* defaults */ #ifdef XWFEATURE_RELAY mainParams.connInfo.relay.defaultSendPort = DEFAULT_PORT; + mainParams.connInfo.relay.relayName = "localhost"; mainParams.connInfo.relay.invite = "INVITE"; #endif #ifdef XWFEATURE_IP_DIRECT