Skip to content

Commit

Permalink
Core/DB Layer: Fix a memory leak. Author: raczman (yes, you read corr…
Browse files Browse the repository at this point in the history
…ectly)
  • Loading branch information
Machiavell1 committed Mar 24, 2012
1 parent 4c16421 commit 0eb3ffc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/shared/Database/PreparedStatement.cpp
Expand Up @@ -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;
}
Expand Down

1 comment on commit 0eb3ffc

@2010phenix
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh no)
raczman back to alive ))))))

Please sign in to comment.