From 12973de799dde8f89b9049964e26ab63a960520a Mon Sep 17 00:00:00 2001 From: Nay Date: Sat, 24 Aug 2013 22:56:29 +0100 Subject: Core&Tools: Fix multiple issues found by a static code coverage tool --- src/server/shared/Database/QueryResult.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/server/shared/Database/QueryResult.cpp') diff --git a/src/server/shared/Database/QueryResult.cpp b/src/server/shared/Database/QueryResult.cpp index 4f4c0ec51f4..9413e28a0c0 100644 --- a/src/server/shared/Database/QueryResult.cpp +++ b/src/server/shared/Database/QueryResult.cpp @@ -60,6 +60,9 @@ m_length(NULL) if (mysql_stmt_store_result(m_stmt)) { TC_LOG_WARN(LOG_FILTER_SQL, "%s:mysql_stmt_store_result, cannot bind result from MySQL server. Error: %s", __FUNCTION__, mysql_stmt_error(m_stmt)); + delete[] m_rBind; + delete[] m_isNull; + delete[] m_length; return; } -- cgit v1.2.3