libimcv: Properly deinitialize libimcv
Other users of imcv_pa_tnc_attributes (libpts) check if it is NULL before removing vendor IDs.
This commit is contained in:
1 parent
403165102c
commit
6bce8e1cfb
1 file changed
+1
@@ -174,6 +174,7 @@ void libimcv_deinit(void)
|
||||
imcv_pa_tnc_attributes->remove_vendor(imcv_pa_tnc_attributes, PEN_IETF);
|
||||
imcv_pa_tnc_attributes->remove_vendor(imcv_pa_tnc_attributes, PEN_ITA);
|
||||
DESTROY_IF(imcv_pa_tnc_attributes);
|
||||
imcv_pa_tnc_attributes = NULL;
|
||||
DESTROY_IF(imcv_db);
|
||||
DBG1(DBG_LIB, "libimcv terminated");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user