Reversed unintended commit
authorSansar Choinyambuu <schoinya@hsr.ch>
Wed, 2 Nov 2011 07:08:06 +0000 (08:08 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:17:16 +0000 (21:17 +0100)
src/libcharon/plugins/tnc_imc/tnc_imc.c
src/libcharon/plugins/tnc_imv/tnc_imv.c

index cf2f09a..52e5266 100644 (file)
@@ -161,7 +161,7 @@ METHOD(imc_t, type_supported, bool,
 METHOD(imc_t, destroy, void,
        private_tnc_imc_t *this)
 {
-       //dlclose(this->handle);
+       dlclose(this->handle);
        this->mutex->destroy(this->mutex);
        free(this->supported_types);
        free(this->name);
index ea15179..f9cfc34 100644 (file)
@@ -162,7 +162,7 @@ METHOD(imv_t, type_supported, bool,
 METHOD(imv_t, destroy, void,
        private_tnc_imv_t *this)
 {
-       //dlclose(this->handle);
+       dlclose(this->handle);
        this->mutex->destroy(this->mutex);
        free(this->supported_types);
        free(this->name);