Core/DB Layer: Fix a memory leak. Author: raczman (yes, you read correctly)

This commit is contained in:
Machiavelli
2012-03-24 19:24:36 +01:00
parent 4c16421cde
commit 0eb3ffca41

View File

@@ -201,6 +201,8 @@ m_bind(NULL)
MySQLPreparedStatement::~MySQLPreparedStatement()
{
ClearParameters();
delete[] m_Mstmt->bind->length;
delete[] m_Mstmt->bind->is_null;
mysql_stmt_close(m_Mstmt);
delete[] m_bind;
}