]> git.stg.codes - stg.git/blobdiff - projects/stargazer/store_loader.cpp
Explicit prohibition of the PLUGIN_LOGGER assignment.
[stg.git] / projects / stargazer / store_loader.cpp
index d27c09023603f8745a02df66554d84cff694c862..1529a2ccd7c5fb744bff2de7e95fead20a75aafd 100644 (file)
@@ -115,6 +115,8 @@ if (!isLoaded)
     return true;
     }
 
+delete plugin;
+
 if (dlclose(handle))
     {
     errorStr = "Failed to unload plugin '";