diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-25 00:19:31 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-26 07:37:22 +0200 |
commit | 3eed74a75c86758c519cfba60a6ba83dcb1eee1b (patch) | |
tree | 2b5931050d4973c70a4b5bbd9325120a6b5a58b2 /src/plugins/irc/irc-ctcp.c | |
parent | e73bff95fa4bcc0902b65263bd47ec8bdc0c1128 (diff) | |
download | weechat-3eed74a75c86758c519cfba60a6ba83dcb1eee1b.zip |
plugins: remove check of NULL pointers before calling weechat_arraylist_free() (issue #865)
Diffstat (limited to 'src/plugins/irc/irc-ctcp.c')
-rw-r--r-- | src/plugins/irc/irc-ctcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c index 619a16f1e..a34f28c57 100644 --- a/src/plugins/irc/irc-ctcp.c +++ b/src/plugins/irc/irc-ctcp.c @@ -495,8 +495,7 @@ end: free (dup_ctcp); free (dup_ctcp_upper); free (dup_args); - if (list_messages) - weechat_arraylist_free (list_messages); + weechat_arraylist_free (list_messages); } /* |