diff options
-rw-r--r-- | src/aio_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aio_event.c b/src/aio_event.c index 9dd0df35a..006d423fb 100644 --- a/src/aio_event.c +++ b/src/aio_event.c @@ -218,6 +218,7 @@ rspamd_eventfdcb (gint fd, gshort what, gpointer ud) ev_data = (struct io_cbdata *) (uintptr_t) event[i].data; /* Call this callback */ ev_data->cb (ev_data->fd, event[i].res, ev_data->len, ev_data->buf, ev_data->ud); + g_slice_free1 (sizeof (struct io_cbdata), ev_data); } } else if (done == 0) { |