diff options
Diffstat (limited to 'src/plugins/alias/alias-command.c')
-rw-r--r-- | src/plugins/alias/alias-command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/alias/alias-command.c b/src/plugins/alias/alias-command.c index d16123285..a8b4b20fa 100644 --- a/src/plugins/alias/alias-command.c +++ b/src/plugins/alias/alias-command.c @@ -221,8 +221,7 @@ alias_command_cb (const void *pointer, void *data, if (ptr_option) weechat_config_option_free (ptr_option); weechat_printf (NULL, _("Alias \"%s\" removed"), name); - if (name) - free (name); + free (name); } ptr_alias = ptr_next_alias; } |