]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Plug leak
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 26 Jun 2019 11:38:40 +0000 (12:38 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 26 Jun 2019 11:38:40 +0000 (12:38 +0100)
src/plugins/surbl.c

index 34046c81979ea2b16f214e60dc3fc542a825c51d..baf985c394202e005ca8c91f8d0f4f9bcd45bf62 100644 (file)
@@ -1670,6 +1670,7 @@ surbl_dns_callback (struct rdns_reply *reply, gpointer arg)
                        g_string_append (sym, "_FAIL");
                        rspamd_task_insert_result (task, sym->str, 1.0,
                                        rdns_strerror (reply->code));
+                       g_string_free (sym, TRUE);
                }
        }