mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +02:00
fset: remove check of NULL pointers before calling free() (issue #865)
This commit is contained in:
@@ -1071,8 +1071,7 @@ fset_buffer_display_option_predefined_format (struct t_fset_option *fset_option)
|
||||
str_type,
|
||||
(str_value) ? str_value : "");
|
||||
|
||||
if (str_value)
|
||||
free (str_value);
|
||||
free (str_value);
|
||||
|
||||
return fset_option->index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user