diff options
Diffstat (limited to 'admin/Sources/Includes/Database.cpp')
-rw-r--r-- | admin/Sources/Includes/Database.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/Sources/Includes/Database.cpp b/admin/Sources/Includes/Database.cpp index 0d1ddcc5..84add9ce 100644 --- a/admin/Sources/Includes/Database.cpp +++ b/admin/Sources/Includes/Database.cpp @@ -106,6 +106,11 @@ bool Database::Execute(char* CmdStr, Table& Tbl) return (true); } // __________________________________________________________________________ +void Database::liberaResult (Table& Tbl) { + //Free resources after mysql_store_result + mysql_free_result(Tbl.m_Rec); +} +// __________________________________________________________________________ Table::Table() { m_Rec=NULL; |