script: fix memory leak in case of invalid XML content in list of scripts
parent
4aeed262f8
commit
26d972dd57
|
@ -39,6 +39,7 @@ Bug fixes::
|
|||
* php: fix return code of functions config_write_option and config_write_line
|
||||
* php: fix memory leak in 72 functions returning allocated strings
|
||||
* ruby: fix memory leak in 7 functions returning allocated strings
|
||||
* script: fix memory leak in case of invalid XML content in list of scripts
|
||||
* scripts: fix memory leak in hook_info callback
|
||||
* scripts: fix return value of hook_infolist callback (pointer instead of string)
|
||||
* scripts: return long integer instead of string in function infolist_time
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue