summaryrefslogtreecommitdiff
path: root/src/libipsec/ipsec_event_relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libipsec/ipsec_event_relay.c')
-rw-r--r--src/libipsec/ipsec_event_relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libipsec/ipsec_event_relay.c b/src/libipsec/ipsec_event_relay.c
index d7d7e8276..c6b2a550d 100644
--- a/src/libipsec/ipsec_event_relay.c
+++ b/src/libipsec/ipsec_event_relay.c
@@ -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;
}