1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 03:56:40 +02:00

The timestamp column in SQL should actually be null sometimes, and fixed some valgrind errors with db_sql_live

This commit is contained in:
Adam
2012-12-27 21:43:19 -05:00
parent 3fb4cf56b6
commit 379b2ccf92
6 changed files with 50 additions and 33 deletions
+1 -1
View File
@@ -192,8 +192,8 @@ class DBMySQL : public Module, public Pipe
std::map<unsigned int, Serializable *>::iterator it = obj->objects.find(id);
if (it != obj->objects.end())
{
it->second->Destroy();
obj->objects.erase(it);
it->second->Destroy(); // This also tries to remove this object from the map
}
}
else