re-establish null pointer if IMC/IMV manager plugin could not be installed
[strongswan.git] / src / libcharon / plugins / tnc_imv / tnc_imv_plugin.c
index 52c39a8..f238f01 100644 (file)
@@ -172,6 +172,7 @@ plugin_t *tnc_imv_plugin_create()
        if (!load_imvs(tnc_config))
        {
                charon->imvs->destroy(charon->imvs);
+               charon->imvs = NULL;
                free(this);
                return NULL;
        }