1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

core: remove check of NULL pointers before calling hashtable_free() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 19:05:34 +02:00
parent 0b2d9bcb9b
commit f11c7c1bf4
15 changed files with 23 additions and 46 deletions
+2 -4
View File
@@ -2485,10 +2485,8 @@ COMMAND_CALLBACK(eval)
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
}
if (pointers)
hashtable_free (pointers);
if (options)
hashtable_free (options);
hashtable_free (pointers);
hashtable_free (options);
}
return WEECHAT_RC_OK;