From a7108fde8fa77c6cb6e66186e6a490951747899d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 11 Mar 2020 09:32:25 +0000 Subject: [Minor] Oops, remove g_free dtor --- src/libstat/learn_cache/redis_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3