diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-25 19:07:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-26 08:53:22 +0200 |
commit | 9a5a1fb300d30630f62cb4707ee6be6937f3467e (patch) | |
tree | 3eb560f6c64641ba3ae22d059ffbb020b0451daf /src/plugins/irc/irc-list.c | |
parent | f11c7c1bf46d494a5a0df616ed0dcc11c64505e1 (diff) | |
download | weechat-9a5a1fb300d30630f62cb4707ee6be6937f3467e.zip |
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865)
Diffstat (limited to 'src/plugins/irc/irc-list.c')
-rw-r--r-- | src/plugins/irc/irc-list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-list.c b/src/plugins/irc/irc-list.c index abef27d57..98e9b994b 100644 --- a/src/plugins/irc/irc-list.c +++ b/src/plugins/irc/irc-list.c @@ -448,8 +448,7 @@ irc_list_parse_messages (struct t_irc_server *server, const char *output) } } free (command); - if (params) - weechat_string_free_split (params); + weechat_string_free_split (params); } weechat_string_free_split (irc_msgs); |