diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-08 14:43:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-08 14:43:46 +0100 |
commit | 08c88c0e020987316a9acf761827ab268237e041 (patch) | |
tree | 2be6bf9eb9261305ea9d67113cd802b2187644aa /src/libstat/backends | |
parent | 66ffd3e2c448ff2db04ffc6b0b34f10e5a50666d (diff) | |
download | rspamd-08c88c0e020987316a9acf761827ab268237e041.tar.gz rspamd-08c88c0e020987316a9acf761827ab268237e041.zip |
[Minor] Free memory
Diffstat (limited to 'src/libstat/backends')
-rw-r--r-- | src/libstat/backends/redis_backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c index 2de3d2b30..aa4c4a5e7 100644 --- a/src/libstat/backends/redis_backend.c +++ b/src/libstat/backends/redis_backend.c @@ -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 |