summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_mssql.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp
index 428481fb0..203805205 100644
--- a/src/modules/extra/m_mssql.cpp
+++ b/src/modules/extra/m_mssql.cpp
@@ -378,6 +378,7 @@ class SQLConn : public classbase
return SQLerror(QSEND_FAIL, error);
}
delete[] query;
+ delete[] msquery;
int tds_res;
while (tds_process_tokens(sock, &tds_res, NULL, TDS_TOKEN_RESULTS) == TDS_SUCCEED)