1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 20:16:38 +02:00

Fixed a memory leak in m_sqlite

This commit is contained in:
Adam
2011-12-08 17:29:17 -05:00
parent aeefe1650e
commit fa54d5acb7
+2
View File
@@ -175,6 +175,8 @@ SQLResult SQLiteService::RunQuery(const SQLQuery &query)
}
while (err == SQLITE_ROW);
sqlite3_finalize(stmt);
if (err != SQLITE_DONE)
return SQLiteResult(query, real_query, sqlite3_errmsg(this->sql));