From: Vsevolod Stakhov Date: Fri, 21 Oct 2016 16:43:52 +0000 (+0100) Subject: [Fix] Fix refcounts when map is specified by IP X-Git-Tag: 1.4.0~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c16e0e4d73d8415983a49751bde7678461986c3;p=thirdparty%2Frspamd.git [Fix] Fix refcounts when map is specified by IP --- diff --git a/src/libutil/map.c b/src/libutil/map.c index a1539525b2..5ef04b9f7d 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",