mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
script: fix memory leak in case of invalid XML content in list of scripts
This commit is contained in:
@@ -1411,6 +1411,8 @@ script_repo_file_read (int quiet)
|
||||
SCRIPT_PLUGIN_NAME);
|
||||
}
|
||||
|
||||
if (script)
|
||||
script_repo_free (script);
|
||||
if (locale)
|
||||
free (locale);
|
||||
if (locale_language)
|
||||
|
||||
Reference in New Issue
Block a user