1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

plugins: remove check of NULL pointers before calling weechat_arraylist_free() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 00:19:31 +02:00
parent e73bff95fa
commit 3eed74a75c
6 changed files with 8 additions and 10 deletions
+1 -2
View File
@@ -567,8 +567,7 @@ fset_command_run_set_cb (const void *pointer, void *data,
/* check condition to trigger the fset buffer */
if (condition_ok)
{
if (old_options)
weechat_arraylist_free (old_options);
weechat_arraylist_free (old_options);
free (old_max_length);
free (old_filter);