]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Free memory
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 8 Jul 2017 13:43:46 +0000 (14:43 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 8 Jul 2017 13:43:46 +0000 (14:43 +0100)
src/libstat/backends/redis_backend.c

index 2de3d2b30fa0b12dae4f9f8173e46f970ccf7d05..aa4c4a5e742b4bffcd73cad4488c57661a8f2cc4 100644 (file)
@@ -700,6 +700,8 @@ rspamd_redis_generate_learn_signature (struct rspamd_task *task,
                redisAsyncFormattedCommand (rt->redis, NULL, NULL,
                                out->str, out->len);
        }
+
+       rspamd_fstring_free (out);
 }
 
 static void