summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-16 21:16:41 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-16 21:16:41 +0000
commite95b468ad130b33de8da4537884db6ed3fbdbf1a (patch)
treee938be23b17b1e8c9019deb4c60a9acaba80498f /src/modules/extra
parent87bb85f35cdbe5b4ec70850ec37a2c2dd012c6d7 (diff)
Less mem leaking, thx Brain for noticing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9107 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-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)