aboutsummaryrefslogtreecommitdiff
path: root/lib/pluginloader/pluginloader.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2019-11-03 00:18:10 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2019-11-03 00:20:41 +0200
commitf3a4607d6a722a862af0eb9747a15dcdf624b6fb (patch)
tree9885709cdff55a865be6c03c591a9757680b0396 /lib/pluginloader/pluginloader.cpp
parentChange spdlog from makedepends to depends (diff)
downloadsmolbote-f3a4607d6a722a862af0eb9747a15dcdf624b6fb.tar.xz
Drop boost dependency
- wrote not-invented-here config file parser and conf class - spent obscene amount of time plugging in said conf class
Diffstat (limited to 'lib/pluginloader/pluginloader.cpp')
-rw-r--r--lib/pluginloader/pluginloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pluginloader/pluginloader.cpp b/lib/pluginloader/pluginloader.cpp
index f47c39e..ef17513 100644
--- a/lib/pluginloader/pluginloader.cpp
+++ b/lib/pluginloader/pluginloader.cpp
@@ -56,7 +56,7 @@ PluginLoader::VerifyState PluginLoader::verify(const char *hashName) const
if(rc != 1)
return SignatureComputeFailed;
}
- delete buf;
+ delete[] buf;
plugin.close();
// read signature into DigestVerifyFinal