]> git.stg.codes - stg.git/blobdiff - projects/stargazer/store_loader.cpp
Fix build on Darwin.
[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 '";