Fixed a config reference leak in IKEv2 initiate
authorMartin Willi <martin@revosec.ch>
Wed, 23 Nov 2011 10:27:47 +0000 (11:27 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:49 +0000 (17:30 +0100)
src/libcharon/sa/tasks/child_create.c

index 79ca6cf..e40f34d 100644 (file)
@@ -1323,7 +1323,6 @@ child_create_t *child_create_create(ike_sa_t *ike_sa,
                this->public.task.build = _build_i;
                this->public.task.process = _process_i;
                this->initiator = TRUE;
-               config->get_ref(config);
        }
        else
        {