Use the slist_free_strings_full wrapper func.
authorwwp <wwp@free.fr>
Thu, 26 Jun 2014 10:43:34 +0000 (12:43 +0200)
committerwwp <wwp@free.fr>
Thu, 26 Jun 2014 10:43:34 +0000 (12:43 +0200)
src/plugins/rssyl/rssyl_parse_feed.c

index 37c2ba0..6eeb611 100644 (file)
@@ -144,7 +144,7 @@ static void rssyl_expire_items(RFolderItem *ritem, Feed *feed)
 
        debug_print("RSSyl: expired %d items\n", g_slist_length(ctx->expired_ids));
 
-       g_slist_free_full(ctx->expired_ids, g_free);
+       slist_free_strings_full(ctx->expired_ids);
        g_free(ctx);
 }