Ticket #3244 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

MS SQL 2008 plugin - msMSSQL2008CloseConnection() improperly frees statement handle

Reported by: jbartkowiak Owned by: tamas
Priority: normal Milestone: 5.6.2 release
Component: Input - Native MS SQL Server Support Version: 5.6
Severity: normal Keywords:
Cc:

Description

msMSSQL2008CloseConnection() improperly frees statement handle:

if (conn->hstmt)
{
    SQLFreeHandle(SQL_HANDLE_DBC, conn->hstmt);
}

This should be:

if (conn->hstmt)
{
    SQLFreeHandle(SQL_HANDLE_STMT, conn->hstmt);
}

Change History

Changed 2 years ago by tamas

  • owner changed from hobu to tamas

Changed 2 years ago by tamas

  • status changed from new to closed
  • version changed from svn-trunk (development) to 5.6
  • resolution set to fixed
  • milestone set to 5.6.2 release

Fixed in r9924 and r9925

Note: See TracTickets for help on using tickets.