mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
script: remove check of NULL pointers before calling free() (issue #865)
This commit is contained in:
@@ -227,8 +227,7 @@ script_completion_scripts_files_cb (const void *pointer, void *data,
|
||||
free (directory);
|
||||
}
|
||||
|
||||
if (weechat_data_dir)
|
||||
free (weechat_data_dir);
|
||||
free (weechat_data_dir);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user