aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-05-15 12:39:35 +0000
committerTobias Brunner <tobias@strongswan.org>2008-05-15 12:39:35 +0000
commit144274ab20bfef250c155d38e621b94e83c574b0 (patch)
tree51fd9673cb71c344d8886ba03dd3848e897b7608 /src/libstrongswan/plugins/pubkey/pubkey_plugin.c
parentc1571b34fdb87b8b18a1aeb336d208d2bdcc2429 (diff)
downloadstrongswan-144274ab20bfef250c155d38e621b94e83c574b0.tar.bz2
strongswan-144274ab20bfef250c155d38e621b94e83c574b0.tar.xz
corrected deinitialisation of public key factory
Diffstat (limited to 'src/libstrongswan/plugins/pubkey/pubkey_plugin.c')
-rw-r--r--src/libstrongswan/plugins/pubkey/pubkey_plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
index 37d0dcd4c..dd7ac6fd1 100644
--- a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
+++ b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
@@ -40,7 +40,9 @@ struct private_pubkey_plugin_t {
static void destroy(private_pubkey_plugin_t *this)
{
lib->creds->remove_builder(lib->creds,
- (builder_constructor_t)pubkey_cert_builder);
+ (builder_constructor_t)pubkey_cert_builder);
+ lib->creds->remove_builder(lib->creds,
+ (builder_constructor_t)pubkey_public_key_builder);
free(this);
}