remove pem_encoder_encode
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 30 Oct 2011 16:21:57 +0000 (17:21 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 30 Oct 2011 16:21:57 +0000 (17:21 +0100)
src/libstrongswan/plugins/pem/pem_plugin.c

index 8928a8d..094a2b5 100644 (file)
@@ -99,6 +99,8 @@ METHOD(plugin_t, get_features, int,
 METHOD(plugin_t, destroy, void,
        private_pem_plugin_t *this)
 {
+       lib->encoding->remove_encoder(lib->encoding, pem_encoder_encode);
+
        free(this);
 }