Core/DB Layer: Fix a memory leak. Author: raczman (yes, you read correctly)
This commit is contained in:
1 parent
4c16421cde
commit
0eb3ffca41
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user