mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +02:00
script: remove check of NULL pointers before calling free() (issue #865)
This commit is contained in:
@@ -488,8 +488,7 @@ script_action_run_autoload (const char *name, int quiet, int autoload)
|
||||
free (filename);
|
||||
}
|
||||
|
||||
if (weechat_data_dir)
|
||||
free (weechat_data_dir);
|
||||
free (weechat_data_dir);
|
||||
|
||||
if (!script_found)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user