diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-21 17:43:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-21 17:43:52 +0100 |
commit | 0c16e0e4d73d8415983a49751bde7678461986c3 (patch) | |
tree | 187599c284ab2fe67e54fdfaf982cf9655655e5e /src/libutil/map.c | |
parent | 7890a62a8a76a7711e5dbdb994f8dbbe5c0c1872 (diff) | |
download | rspamd-0c16e0e4d73d8415983a49751bde7678461986c3.tar.gz rspamd-0c16e0e4d73d8415983a49751bde7678461986c3.zip |
[Fix] Fix refcounts when map is specified by IP
Diffstat (limited to 'src/libutil/map.c')
-rw-r--r-- | src/libutil/map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index a1539525b..5ef04b9f7 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -819,6 +819,7 @@ rspamd_map_common_http_callback (struct rspamd_map *map, struct rspamd_map_backe cbd->map->cfg->libs_ctx->ssl_ctx); write_http_request (cbd); + MAP_RELEASE (cbd, "http_callback_data"); } else { msg_warn_map ("cannot load map: cannot connect to %s: %s", |