aboutsummaryrefslogtreecommitdiff
path: root/src/config_global.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config_global.c')
-rw-r--r--src/config_global.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config_global.c b/src/config_global.c
index 5ef6faa..bda63d6 100644
--- a/src/config_global.c
+++ b/src/config_global.c
@@ -292,6 +292,15 @@ void free_global_config(void) {
if (SPM_GLOBAL.config) {
config_free(SPM_GLOBAL.config);
}
+ if (SPM_GLOBAL.repo_target) {
+ free(SPM_GLOBAL.repo_target);
+ }
+ if (SPM_GLOBAL.mirror_config) {
+ free(SPM_GLOBAL.mirror_config);
+ }
+ if (SPM_GLOBAL.mirror_list) {
+ mirror_list_free(SPM_GLOBAL.mirror_list);
+ }
}
/**