summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/relay-buffer.c')
-rw-r--r--src/plugins/relay/relay-buffer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/relay/relay-buffer.c b/src/plugins/relay/relay-buffer.c
index 30ac45bbd..e2759dbf6 100644
--- a/src/plugins/relay/relay-buffer.c
+++ b/src/plugins/relay/relay-buffer.c
@@ -153,10 +153,8 @@ relay_buffer_refresh (const char *hotlist)
str_date_start,
str_date_end);
- if (str_recv)
- free (str_recv);
- if (str_sent)
- free (str_sent);
+ free (str_recv);
+ free (str_sent);
line++;
}