libipsec: Fix memory leak in event relay
[strongswan.git] / src / libipsec / ipsec_event_relay.c
index d7d7e82..c6b2a55 100644 (file)
@@ -118,6 +118,7 @@ static job_requeue_t handle_events(private_ipsec_event_relay_t *this)
        }
        enumerator->destroy(enumerator);
        this->lock->unlock(this->lock);
+       free(event);
        return JOB_REQUEUE_DIRECT;
 }