diff options
Diffstat (limited to 'src/modules/extra/m_sql.cpp')
-rw-r--r-- | src/modules/extra/m_sql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index ef3fbf21d..1c5da9366 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -333,12 +333,12 @@ class ModuleSQL : public Module virtual ~ModuleSQL() { Connections.clear(); - delete Conf; + DELETE(Conf); } virtual void OnRehash(const std::string ¶meter) { - delete Conf; + DELETE(Conf); Conf = new ConfigReader(); LoadDatabases(Conf); } |