- working policy installation and removal
This commit is contained in:
1 parent
fb8aa445d2
commit
5d187bd234
8 files changed
+345
-101
No files matched your search
@@ -196,6 +196,10 @@ static void initialize(private_daemon_t *this)
|
||||
*/
|
||||
static void destroy(private_daemon_t *this)
|
||||
{
|
||||
if (this->public.ike_sa_manager != NULL)
|
||||
{
|
||||
this->public.ike_sa_manager->destroy(this->public.ike_sa_manager);
|
||||
}
|
||||
if (this->public.kernel_interface != NULL)
|
||||
{
|
||||
this->public.kernel_interface->destroy(this->public.kernel_interface);
|
||||
@@ -232,10 +236,6 @@ static void destroy(private_daemon_t *this)
|
||||
{
|
||||
this->public.socket->destroy(this->public.socket);
|
||||
}
|
||||
if (this->public.ike_sa_manager != NULL)
|
||||
{
|
||||
this->public.ike_sa_manager->destroy(this->public.ike_sa_manager);
|
||||
}
|
||||
if (this->public.configuration_manager != NULL)
|
||||
{
|
||||
this->public.configuration_manager->destroy(this->public.configuration_manager);
|
||||
|
||||
Reference in new issue
Block a user