}
static void
+free_tower_list (GSList *list)
+{
+ GSList *cursor = list;
+
+ while (cursor)
+ {
+ found_tower_free ((FoundTower*) cursor->data);
+ cursor = cursor->next;
+ }
+
+ g_slist_free (list);
+}
+
+static void
show_towers_from_list (GSList *list)
{
GtkWidget *dialog;
"One tower found.");
show_tower (found->primarykey);
- /* FIXME: and free the list */
+ free_tower_list (list);
return;
}
show_tower (found->primarykey);
}
- /* FIXME: and free the list */
+ free_tower_list (list);
}
static gint strcmp_f (gconstpointer a,