]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugin_runner.cpp
Fix email.
[stg.git] / projects / stargazer / plugin_runner.cpp
index e57a421ef245d955d6c0dfbd9945cf9e404d6cae..56fe5d1574745d07b21e041141fb934661a01887 100644 (file)
@@ -16,7 +16,7 @@
 
 /*
  *    Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
- *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
+ *    Author : Maksym Mamontov <stg@madf.info>
  */
 
 #include "plugin_runner.h"
@@ -48,6 +48,7 @@ PLUGIN_RUNNER::PLUGIN_RUNNER(const std::string & fileName,
 //-----------------------------------------------------------------------------
 PLUGIN_RUNNER::~PLUGIN_RUNNER()
 {
+delete &m_plugin;
 if (dlclose(libHandle))
     {
     errorStr = "Failed to unload plugin '" + pluginFileName + "': " + dlerror();