summaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-11 09:32:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-11 09:32:25 +0000
commita7108fde8fa77c6cb6e66186e6a490951747899d (patch)
treeacc31a29848c258e7343435b9ea81e8a5f8d1f6b /src/libstat
parenta8318639cc0ed85183d9b34cddd5df82c7a03670 (diff)
downloadrspamd-a7108fde8fa77c6cb6e66186e6a490951747899d.tar.gz
rspamd-a7108fde8fa77c6cb6e66186e6a490951747899d.zip
[Minor] Oops, remove g_free dtor
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/learn_cache/redis_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/learn_cache/redis_cache.c b/src/libstat/learn_cache/redis_cache.c
index a73a79b8c..9b64cb622 100644
--- a/src/libstat/learn_cache/redis_cache.c
+++ b/src/libstat/learn_cache/redis_cache.c
@@ -227,7 +227,7 @@ rspamd_stat_cache_redis_generate_id (struct rspamd_task *task)
rspamd_encode_base32_buf (out, sizeof (out), b32out,
sizeof (out) * 8 / 5 + 2);
g_assert (b32out != NULL);
- rspamd_mempool_set_variable (task->task_pool, "words_hash", b32out, g_free);
+ rspamd_mempool_set_variable (task->task_pool, "words_hash", b32out, NULL);
}
gpointer