summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/script/script-repo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c
index 95c8c7524..b2823c0a6 100644
--- a/src/plugins/script/script-repo.c
+++ b/src/plugins/script/script-repo.c
@@ -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)