summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/relay-auth.c')
-rw-r--r--src/plugins/relay/relay-auth.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/relay/relay-auth.c b/src/plugins/relay/relay-auth.c
index f1d4e0b59..5579b18fb 100644
--- a/src/plugins/relay/relay-auth.c
+++ b/src/plugins/relay/relay-auth.c
@@ -166,8 +166,7 @@ relay_auth_parse_sha (const char *parameters,
if (!argv || (argc < 2))
{
/* not enough parameters */
- if (argv)
- weechat_string_free_split (argv);
+ weechat_string_free_split (argv);
return;
}
@@ -240,8 +239,7 @@ relay_auth_parse_pbkdf2 (const char *parameters,
if (!argv || (argc < 3))
{
/* not enough parameters */
- if (argv)
- weechat_string_free_split (argv);
+ weechat_string_free_split (argv);
return;
}