Core/DBLayer:
- Fix memory leak introduced in previous rev - Fix linux compile, thanks to Playon for reporting --HG-- branch : trunk
This commit is contained in:
1 parent
3c6dc32030
commit
e3bf89b6f7
2 files changed
+7
-1
No files matched your search
@@ -44,6 +44,12 @@ m_rowPosition(0)
|
||||
if (!m_res)
|
||||
return;
|
||||
|
||||
if (m_stmt->bind_result_done)
|
||||
{
|
||||
delete[] m_stmt->bind->length;
|
||||
delete[] m_stmt->bind->is_null;
|
||||
}
|
||||
|
||||
m_rBind = new MYSQL_BIND[m_fieldCount];
|
||||
m_isNull = new my_bool[m_fieldCount];
|
||||
m_length = new unsigned long[m_fieldCount];
|
||||
|
||||
Reference in new issue
Block a user