]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
remove attribute provider in SQL plugin destruction
authorMartin Willi <martin@strongswan.org>
Thu, 27 Nov 2008 14:33:41 +0000 (14:33 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 27 Nov 2008 14:33:41 +0000 (14:33 -0000)
src/charon/plugins/sql/sql_plugin.c

index d5689363e678938f5beb42510681ce39443bf8a7..80c224e6d0cc33f48b1c158b11e37632fac2ffa0 100644 (file)
@@ -68,6 +68,7 @@ static void destroy(private_sql_plugin_t *this)
 {
        charon->backends->remove_backend(charon->backends, &this->config->backend);
        charon->credentials->remove_set(charon->credentials, &this->cred->set);
+       charon->attributes->remove_provider(charon->attributes, &this->attribute->provider);
        charon->bus->remove_listener(charon->bus, &this->logger->listener);
        this->config->destroy(this->config);
        this->cred->destroy(this->cred);