diff options
Diffstat (limited to 'src/libutil')
-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 */ |