X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/25c5bd4fe8c9fd7c4898e7dfbbdbf68dc172dcd7..d12e0d85ae649d5c903a61c1150f4e6c48f96309:/projects/stargazer/store_loader.cpp?ds=sidebyside diff --git a/projects/stargazer/store_loader.cpp b/projects/stargazer/store_loader.cpp index d27c0902..8544efd1 100644 --- a/projects/stargazer/store_loader.cpp +++ b/projects/stargazer/store_loader.cpp @@ -15,7 +15,7 @@ */ /* - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ /* @@ -115,6 +115,8 @@ if (!isLoaded) return true; } +delete plugin; + if (dlclose(handle)) { errorStr = "Failed to unload plugin '";