diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-07 14:47:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-07 14:47:41 +0100 |
commit | c44fc67ed4073559a2b7d72a9d45a8dab3d319e3 (patch) | |
tree | 23d7c161fbbccab9353f4dff905add78cd8459f3 /src/libutil/map_private.h | |
parent | e34d0c8859b9800a88547764c8d269a35ff15d5c (diff) | |
download | rspamd-c44fc67ed4073559a2b7d72a9d45a8dab3d319e3.tar.gz rspamd-c44fc67ed4073559a2b7d72a9d45a8dab3d319e3.zip |
[CritFix] Fix memory leak in maps scheduling
Diffstat (limited to 'src/libutil/map_private.h')
-rw-r--r-- | src/libutil/map_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/map_private.h b/src/libutil/map_private.h index f59b3b6c1..abb4ef613 100644 --- a/src/libutil/map_private.h +++ b/src/libutil/map_private.h @@ -81,7 +81,6 @@ struct rspamd_map { gchar *description; gchar *name; guint32 id; - struct event ev; struct timeval tv; gdouble poll_timeout; /* Shared lock for temporary disabling of map reading (e.g. when this map is written by UI) */ @@ -131,6 +130,7 @@ enum rspamd_map_http_stage { struct map_periodic_cbdata { struct rspamd_map *map; struct map_cb_data cbdata; + struct event ev; gboolean need_modify; gboolean errored; guint cur_backend; |