mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865)
This commit is contained in:
@@ -1087,8 +1087,7 @@ plugin_auto_load (char *force_plugin_autoload,
|
||||
hashtable_set (options, "directory", "data");
|
||||
plugin_path = string_eval_path_home (CONFIG_STRING(config_plugin_path),
|
||||
NULL, NULL, options);
|
||||
if (options)
|
||||
hashtable_free (options);
|
||||
hashtable_free (options);
|
||||
if (plugin_path)
|
||||
{
|
||||
dir_exec_on_files (plugin_path, 1, 0,
|
||||
|
||||
Reference in New Issue
Block a user