if (!list->next)
{
- /* don't bother showing the list */
+ /* only one; don't bother showing the list */
hildon_banner_show_information(window,
NULL,
"One tower found.");
show_tower (list->data);
+
+ /* FIXME: and free the list */
return;
}
show_tower (result);
g_free (result);
}
+
+ /* FIXME: and free the list */
}
static gint strcmp_f (gconstpointer a,