aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-07 14:47:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-07 14:47:41 +0100
commitc44fc67ed4073559a2b7d72a9d45a8dab3d319e3 (patch)
tree23d7c161fbbccab9353f4dff905add78cd8459f3 /src/libutil/map_private.h
parente34d0c8859b9800a88547764c8d269a35ff15d5c (diff)
downloadrspamd-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.h2
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;