1
0
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:
Sébastien Helleu
2018-05-18 23:01:57 +02:00
parent 4aeed262f8
commit 26d972dd57
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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)