mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
fix memory leaks
This commit is contained in:
parent
bece99bb98
commit
0ad18efcff
2 changed files with 3 additions and 0 deletions
|
@ -557,6 +557,8 @@ smsInviteReceived( void* closure, const XP_UCHAR* gameName, XP_U32 gameID,
|
||||||
globals->cGlobals.selRow = -1;
|
globals->cGlobals.selRow = -1;
|
||||||
recordOpened( apg, globals );
|
recordOpened( apg, globals );
|
||||||
gtk_widget_show( gameWindow );
|
gtk_widget_show( gameWindow );
|
||||||
|
|
||||||
|
gi_disposePlayerInfo( MPPARM(params->mpool) &gi );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -375,6 +375,7 @@ linux_sms2_send( LaunchParams* params, const XP_U8* buf,
|
||||||
if ( 0 >= send_sms( storage, stream, phone, port ) ) {
|
if ( 0 >= send_sms( storage, stream, phone, port ) ) {
|
||||||
buflen = -1;
|
buflen = -1;
|
||||||
}
|
}
|
||||||
|
stream_destroy( stream );
|
||||||
|
|
||||||
return buflen;
|
return buflen;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue