1
0
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:
Sébastien Helleu
2024-04-24 23:51:02 +02:00
parent f79153ace7
commit 3973258628
4 changed files with 32 additions and 64 deletions
+1 -2
View File
@@ -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)
{