2012-10-12 [mones] 3.8.1cvs98
[claws.git] / src / news_gtk.c
index f80bb0fbe4a72cff8e2c4dd2ede702fb66134fde..c848853ab16dd7200660b69d175efe1cba0b0aff 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto & the Claws Mail Team
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto & the Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
 
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
+#include "claws-features.h"
 #endif
 
 #include "defs.h"
@@ -230,8 +231,7 @@ static void subscribe_newsgroup_cb(GtkAction *action, gpointer data)
 
        gtk_cmclist_thaw(GTK_CMCLIST(ctree));
 
-       slist_free_strings(new_subscr);
-       g_slist_free(new_subscr);
+       slist_free_strings_full(new_subscr);
 
        folder_write_list();
 }