Ticket #3244 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
