id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 1514,Query results not cleaned in Soft Transactions of PG,Mateusz Łoskot,Mateusz Łoskot,"In functions operating on Soft Transactions, query results are not properly released when error occur. Is it intentional? For example, in OGRPGDataSource::SoftRollback() {{{ hResult = PQexec(hPGConn, ""ROLLBACK""); if( !hResult || PQresultStatus(hResult) != PGRES_COMMAND_OK ) return OGRERR_FAILURE; PQclear( hResult ); }}} The PQclear() call is missing before return OGRERR_FAILURE. ",defect,closed,high,,OGR_SF,1.4.0,major,fixed,,