From e95b468ad130b33de8da4537884db6ed3fbdbf1a Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 16 Mar 2008 21:16:41 +0000 Subject: Less mem leaking, thx Brain for noticing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9107 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mssql.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/extra') 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) -- cgit v1.2.3