|
@@ -1175,6 +1175,7 @@ static void config_free(GAConfig *config)
|
|
#ifdef CONFIG_FSFREEZE
|
|
#ifdef CONFIG_FSFREEZE
|
|
g_free(config->fsfreeze_hook);
|
|
g_free(config->fsfreeze_hook);
|
|
#endif
|
|
#endif
|
|
|
|
+ g_list_free_full(config->blacklist, g_free);
|
|
g_free(config);
|
|
g_free(config);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1310,11 +1311,6 @@ static int run_agent(GAState *s, GAConfig *config)
|
|
return EXIT_SUCCESS;
|
|
return EXIT_SUCCESS;
|
|
}
|
|
}
|
|
|
|
|
|
-static void free_blacklist_entry(gpointer entry, gpointer unused)
|
|
|
|
-{
|
|
|
|
- g_free(entry);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int main(int argc, char **argv)
|
|
int main(int argc, char **argv)
|
|
{
|
|
{
|
|
int ret = EXIT_SUCCESS;
|
|
int ret = EXIT_SUCCESS;
|
|
@@ -1379,7 +1375,6 @@ end:
|
|
if (s->channel) {
|
|
if (s->channel) {
|
|
ga_channel_free(s->channel);
|
|
ga_channel_free(s->channel);
|
|
}
|
|
}
|
|
- g_list_foreach(config->blacklist, free_blacklist_entry, NULL);
|
|
|
|
g_free(s->pstate_filepath);
|
|
g_free(s->pstate_filepath);
|
|
g_free(s->state_filepath_isfrozen);
|
|
g_free(s->state_filepath_isfrozen);
|
|
|
|
|