summaryrefslogtreecommitdiff
path: root/src/gs-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-manager.c')
-rw-r--r--src/gs-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index 00ec982..cca90d8 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -387,8 +387,7 @@ free_themes (GSManager *manager)
{
if (manager->priv->themes)
{
- g_slist_foreach (manager->priv->themes, (GFunc)g_free, NULL);
- g_slist_free (manager->priv->themes);
+ g_slist_free_full (manager->priv->themes, g_free);
}
}