diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-16 21:21:28 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-16 21:21:28 +0000 |
commit | 546c9922c0d1d9141f19bd7da62624acdc231c59 (patch) | |
tree | b1cd0dd941b7088b043c1212179c2e14f3a0e09a | |
parent | e95b468ad130b33de8da4537884db6ed3fbdbf1a (diff) |
new/delete - malloc/free, remember peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9108 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/extra/m_mssql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index 203805205..ece93ef8a 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -378,7 +378,7 @@ class SQLConn : public classbase return SQLerror(QSEND_FAIL, error); } delete[] query; - delete[] msquery; + free(msquery); int tds_res; while (tds_process_tokens(sock, &tds_res, NULL, TDS_TOKEN_RESULTS) == TDS_SUCCEED) |