diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-02 19:03:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-02 19:03:15 +0000 |
commit | 96346543001368d5ee1a3b19a4315ad2a5fd3e13 (patch) | |
tree | 986e636074a07c9e013b5d7dabb5c43247f17418 /src | |
parent | 751d22ec96231b64d0cc282aeefb33ea7ffc47d5 (diff) | |
download | rspamd-96346543001368d5ee1a3b19a4315ad2a5fd3e13.tar.gz rspamd-96346543001368d5ee1a3b19a4315ad2a5fd3e13.zip |
Some more fixes to the test.
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/upstream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c index b18e2585f..2ff8f2651 100644 --- a/src/libutil/upstream.c +++ b/src/libutil/upstream.c @@ -367,6 +367,9 @@ rspamd_upstreams_parse_line (struct upstream_list *ups, if (rspamd_upstreams_add_upstream (ups, tmp, def_port, data)) { ret = TRUE; } + else { + g_free (tmp); + } } p += len; /* Skip separators */ |