diff --git a/xwords4/relay/cref.cpp b/xwords4/relay/cref.cpp index 9c8f333c1..86c8c8e8f 100644 --- a/xwords4/relay/cref.cpp +++ b/xwords4/relay/cref.cpp @@ -248,7 +248,8 @@ CookieRef::_Reconnect( int clientVersion, DevID* devID, HostID hid, logf( XW_LOGINFO, "%s: failing because spot taken", __func__ ); } else { if ( alreadyHere ) { - logf( XW_LOGERROR, "%s: dropping because already here", __func__ ); + logf( XW_LOGERROR, "%s: NOT dropping because already here (but should fix client!)", + __func__ ); } pushReconnectEvent( clientVersion, devID, hid, nPlayersH, nPlayersS, diff --git a/xwords4/relay/dbmgr.cpp b/xwords4/relay/dbmgr.cpp index d995d58b0..8c40f9310 100644 --- a/xwords4/relay/dbmgr.cpp +++ b/xwords4/relay/dbmgr.cpp @@ -884,6 +884,7 @@ DBMgr::execParams( QueryBuilder& qb ) PQresStatus(PQresultStatus(result)), PQresultErrorMessage(result) ); } + PQclear( result ); return success; }