]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops, remove g_free dtor
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Mar 2020 09:32:25 +0000 (09:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Mar 2020 09:32:25 +0000 (09:32 +0000)
src/libstat/learn_cache/redis_cache.c

index a73a79b8c7e049d8ae7f718e1ff6281ae3b9df84..9b64cb62260179ab2d713488c93db189dbe89d8c 100644 (file)
@@ -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