git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git]
/
projects
/
stargazer
/
plugin_runner.cpp
diff --git
a/projects/stargazer/plugin_runner.cpp
b/projects/stargazer/plugin_runner.cpp
index e57a421ef245d955d6c0dfbd9945cf9e404d6cae..e43271c0fc946194e20eab2cfb9e7c7c65f946a6 100644
(file)
--- a/
projects/stargazer/plugin_runner.cpp
+++ b/
projects/stargazer/plugin_runner.cpp
@@
-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();