diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-21 18:39:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-21 18:39:33 +0300 |
commit | 06e4b579a26dc7bac30aa33edf55c986e03b1525 (patch) | |
tree | 6da7cfe30118828ece7e3974824c0db8f065c563 /plugins/MirLua | |
parent | 9cf103c9683733f00ba923a899d85224b676be78 (diff) |
compilation fix
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/plugin.cpp b/plugins/MirLua/src/plugin.cpp index 9376355a7f..b6dba83f2e 100644 --- a/plugins/MirLua/src/plugin.cpp +++ b/plugins/MirLua/src/plugin.cpp @@ -46,7 +46,7 @@ void CMPlugin::UnloadLuaScripts() { for (auto &script : m_scripts.rev_iter()) { script->Unload(); - delete m_scripts.removeItem(&script); + m_scripts.removeItem(&script); } } |