Less mem leaking, thx Brain for noticing.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9107 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
peavey 2008-03-16 21:16:41 +00:00
parent 87bb85f35c
commit e95b468ad1

View File

@ -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)