diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-13 16:52:48 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-13 16:52:48 +0400 |
commit | db1f276aa8d6ed66340919fe1c7fa454c52fea43 (patch) | |
tree | 385d203ec3b4ba49edcd9a6cc89977a4041fb944 /src/aio_event.c | |
parent | 7437cc1df6e16a884678f8725957cbcd9843fc33 (diff) | |
download | rspamd-db1f276aa8d6ed66340919fe1c7fa454c52fea43.tar.gz rspamd-db1f276aa8d6ed66340919fe1c7fa454c52fea43.zip |
Cleanup callback's data for aio.
Diffstat (limited to 'src/aio_event.c')
-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) { |